Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with Data format

Hi,

I have my date columns are showing up as below.. I tried to change the number format settings and used date(date#()) function..I need it to be displayed as MM/DD/YYYY HH:MM:SS.

Capture.PNGCapture 2.PNG

Please advice.. Thanks in advance

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be like this:

TimeStamp(TimeStamp#(Left(ReceivedDateTime, 14), 'YYYYMMDDhhmmss'), 'MM/DD/YYYY hh:mm:ss') as ReceivedDateTime

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

May be like this:

TimeStamp(TimeStamp#(Left(ReceivedDateTime, 14), 'YYYYMMDDhhmmss'), 'MM/DD/YYYY hh:mm:ss') as ReceivedDateTime

engishfaque
Specialist III
Specialist III

Dear Mohan,

Here it is,

inline_table:

LOAD Date(Timestamp#(Date, 'YYYYMMDDhhmmss'), 'MM/DD/YYYY hh:mm:ss') as Date Inline [

  Date

  20160418101110016

];

Kind regards,

Ishfaque Ahmed

Not applicable
Author

Thanks sunny and Ishfaque Ahmed.. Both worked for date in format "20160418101110016"  but didn't work for date in exponent form...