added testcase for function dateTimeFormat