Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
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
Specialist
Specialist

Example:

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

View solution in original post

3 Replies
Specialist
Specialist

Example:

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

View solution in original post

Master
Master

Hi,

Try

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

MVP & Luminary
MVP & Luminary

Try this.

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

Regards,

Kaushik Solanki

Regards,
Kaushik
If reply is satisfactory, please "Like" the post.
If reply is solution, please mark as "Correct".