Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Karahs
Partner - Creator
Partner - Creator

Date Time Format

Hi everyone,

       I want the TAT date and time format to be same as SiteArrivalDate  date and time format!

Time date.png

Thanks!!

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Use an expression like

   

     Date(Date#(TAT, 'dd MMM yyyy hh:mm:ss:fff'), 'M/d/yyyy hh:mm:ss tt)

This can be in the front end, but it would be better to amend the load script and incorporate the format expression in the LOAD statement:

     LOAD

          ...

          Date(Date#(TAT, 'dd MMM yyyy hh:mm:ss:fff'), 'M/d/yyyy hh:mm:ss tt) as TAT,

          ...

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Use an expression like

   

     Date(Date#(TAT, 'dd MMM yyyy hh:mm:ss:fff'), 'M/d/yyyy hh:mm:ss tt)

This can be in the front end, but it would be better to amend the load script and incorporate the format expression in the LOAD statement:

     LOAD

          ...

          Date(Date#(TAT, 'dd MMM yyyy hh:mm:ss:fff'), 'M/d/yyyy hh:mm:ss tt) as TAT,

          ...

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Karahs
Partner - Creator
Partner - Creator
Author

Thankyou Jonathan ,it worked