Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

Convert Time to Integer

Hi All,

I have the following

=TIME('$(now)' - TIME(MIN({<[TrxType] = {'D'},ActionID = {'PICKCASE'}, FromChamber = {'PR'}>}StartTime),'hh:mm'),'hh:mm')

which returns 04:10

I need to covert this to a number, can you help.

1 Solution

Accepted Solutions
sunny_talwar

May be this

Hour(('$(now)' - MIN({<[TrxType] = {'D'},ActionID = {'PICKCASE'}, FromChamber = {'PR'}>}StartTime))) + (Minute(('$(now)' - MIN({<[TrxType] = {'D'},ActionID = {'PICKCASE'}, FromChamber = {'PR'}>}StartTime)))/60)

View solution in original post

4 Replies
mdmukramali
Specialist III
Specialist III

Hi Alan,

it's returning the result in hours and Minutes ...

you want to convert it into Number ?

can you let me know what will be the result of 04:10 when you convert into Number ? // As a Sample

rustyfishbones
Master II
Master II
Author

4.16?

sunny_talwar

May be this

Hour(('$(now)' - MIN({<[TrxType] = {'D'},ActionID = {'PICKCASE'}, FromChamber = {'PR'}>}StartTime))) + (Minute(('$(now)' - MIN({<[TrxType] = {'D'},ActionID = {'PICKCASE'}, FromChamber = {'PR'}>}StartTime)))/60)

rustyfishbones
Master II
Master II
Author

thats it. thank you.