misc: add dateTime module

Add dateTime module as a general interface to get or transform datetime
in a given format.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpParser: replace the datetime symbols using dateTime module

Update the procedures to handle beginTime and endTime using dateTime module.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>