Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

get date into other format

hi comm,

today im dealing with a timeformat like this:

YYYYMMDDssmmhh

and i want to bring into the following format

hh:mm:ss DD/MM/YYYY

can someone help me with doing this in loadscript.

THX

1 Solution

Accepted Solutions
tomasz_tru
Specialist
Specialist

Example:

Date(Date#('20170101150100', 'YYYYMMDDssmmhh'),'hh:mm:ss DD/MM/YYYY')  ;

View solution in original post

3 Replies
tomasz_tru
Specialist
Specialist

Example:

Date(Date#('20170101150100', 'YYYYMMDDssmmhh'),'hh:mm:ss DD/MM/YYYY')  ;

ahaahaaha
Partner - Master
Partner - Master

Hi,

Try

TimeStamp(TimeStamp#([Your Fielf], 'YYYYMMDDssmmhh'), 'hh:mm:ss DD/MM/YYYY')

kaushiknsolanki
MVP
MVP

Try this.

Date(Timestamp(timestamp#(Fieldname,'YYYYMMDDssmmhh')),'DD/MM/YYYY')

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!