Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi QV team,
These are actual dates.
0
400
450
600
645
730
1000
1200
1230
I require above dates like this.
00:00
04:00
04:50
06:00
06:45
07:30
10:00
12:00
12:30
Thanks,
Krish
Hi,
add nested if() in provided solution.
IF(LEN(TEST_TIME)=3,TIME(Time#(TEST_TIME,'hmm'),'hh:mm'),if(LEN(TEST_TIME)=4,TIME(Time#(TEST_TIME,'hhmm'),'hh:mm'),TIME(Time#(TEST_TIME,'m'),'hh:mm')))
Regards
Hi,
Use Time(alt(Time#(FieldName,'mss'),(Time#(FieldName,'mmss')),'mm:ss')
Regards
Are these Hours and Minutes or Minutes and Seconds??
Best,
Sunny
Hi,
These are Hours and Minutes.
I did use this but it not work.
Time(Alt(Time#(Time,'hmm'),Time#(Time,'hhmm')),'hh:mm') as time
It is showing like this.
Hi,
What do you mean by it not work???
Which value you are getting wrong??
Regards
Hi Max,
This values are came correct.
400
450
600
645
730
These are not came correct.
1000
1200
1230
Hi,
Well then try below
IF(LEN(TEST_TIME)=3,TIME(Time#(TEST_TIME,'hmm'),'hh:mm'),TIME(Time#(TEST_TIME,'hhmm'),'hh:mm'))
It will work for you
Regards
Time(Timestamp(
Alt(
Timestamp#([DateField],'DD/MM/YYYY hh:mm[:ss]'),
Timestamp#([DateField],'DD-MM-YYYY hh:mm[:ss]')
)
,'DD/MM/YYYY hh:mm'),'hh:mm') as Time
Hi Sunil,
I am getting same problem.
Hi,
did try my new suggestion.
Regards