adding date time directive