Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Convert Time to Number

Hi   I have a time  field. I want to convert the time to a number like the below   22:01pm >22.01 15:00pm > 15.00 9:06am > 9.06   Can anyone help   Thanks
  • amitchandak's avatar
    5 years ago

    Anonymous ,

    if field is of time type

     

    a new column

    = format([time], "HH.MM")

     

    or

    hour([Time]) *100 + minute([Time])