Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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
Partner Ambassador/MVP
Partner Ambassador/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!