Add getDate and getTime functions in parser