move getSysDate from core to cal_types
event_lib: less dependency to core