Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
KommulaRahul
Contributor III
Contributor III

I have one field that is named as Hour. It is in 12 hour format like (12Am, 1AM, 2AM and so on till 11Pm).

How to convert to 24hour format like (0, 1,2,3 till 23) 

Labels (1)
4 Replies
Chanty4u
MVP
MVP

Try this

 

    Time#(Hour, 'hA') AS Hour24

BrunPierre
Partner - Master
Partner - Master

This perhaps?

Time(Time#(Hour, 'hhTT'), 'h') as [24Hrs];

KommulaRahul
Contributor III
Contributor III
Author

It is showing only from 1 to 14 hour 

From 15 to 24 it is showing

KommulaRahul
Contributor III
Contributor III
Author

I mean from 15 to 24 hour is not displayed. 

Only from 1 to 14 hour is coming