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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change date format

Dear all,

How can I change below dateformat into a usable one:

Sep 30 2013 12:58AM

I already have the time covered, but I cannot seem to get the date converted.

12 Replies
Not applicable
Author

It turns blank.

Please see attached for the example.

Jason_Michaelides
Partner - Master II
Partner - Master II

You have extra spaces in the format.  This works:

Date(TimeStamp#(Replace(Time,'  ',' '),'MMM D YYYY hh:mmtt'),'DD-MM-YYYY hh:mm:ss')

The replace() swaps all double-spaces with a single.

Not applicable
Author

Now it works. Thanks!