Hi Elad,
If you wanted the value to be displayed on a scale of 0 to 48 then you can use this
HalfHour_: (DatePart("h",[Time])*2)+Int(DatePart("n",[Time])/30)
So if the time value is say 05:15 am then the result would be displayed as 10. If the time value was 05:35 am then the result would be 11. Basiccally you have split the day into 48 slots instead of 24.
HTH
Jon
|