Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
StanFV
Contributor
Contributor

Trouble with setting the correct date time format

We are building a calendar in Qliksense. Our date time data is structured as 45019. We want it to show up in our dashboard as April 3, 2023 or 4/3/2023. What script do we need in the back end to do this?

Labels (1)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

1. When loading data make sure you setup in your MAIN section of load editior script variables to required format.

2. Then you cal load your field with the respected format like

- Date(your_date, 'M/D/YYYY') as SalesordersOrderdatum

Note that you want to use name of the field which was not previously used in your load script as fields with masks (like dates) retain the original format (the format which was used to load field first time in your data model)

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

2 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi, 

1. When loading data make sure you setup in your MAIN section of load editior script variables to required format.

2. Then you cal load your field with the respected format like

- Date(your_date, 'M/D/YYYY') as SalesordersOrderdatum

Note that you want to use name of the field which was not previously used in your load script as fields with masks (like dates) retain the original format (the format which was used to load field first time in your data model)

cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
StanFV
Contributor
Contributor
Author

Thank you very much!!

Cheers indeed 🙂