Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

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
Valued Contributor

Re: get date into other format

Example:

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

3 Replies
tomasz_tru
Valued Contributor

Re: get date into other format

Example:

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

ahaahaaha
Honored Contributor

Re: get date into other format

Hi,

Try

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

Re: get date into other format

Try this.

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

Regards,

Kaushik Solanki

Community Browser