Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date format six digit fraction of second

Hi Folks,

I have a updated date column with below data format:

"2014-10-09 13:19:36.657406"

Currently, I am using

Date(MAX(exUpdatedDate),'yyyy-MM-dd hh:mm:ss.fff') AS LastUpdatedDate

to store it which stores the date as below:

'2014-10-09 13:19:36.657'

When I change the format of date to Date(MAX(exUpdatedDate),'yyyy-MM-dd hh:mm:ss.ffffff') the data is getting stored as below:

'2014-10-09 13:19:36.657000'

How do I fix this?

Regards,

Pramod K

2 Replies
Not applicable
Author

use Date#

=Date#(('2014-10-09 13:19:36.657406'),'yyyy-MM-dd hh:mm:ss.ffffff')

maxgro
MVP
MVP

I think you can only use 3f   --> fff

When you add f you are just adding 0 (from my test)

Maybe by design?

=date(date#('2014-10-09 13:19:36.657406',  'YYYY-MM-DD hh:mm:ss.ffffff'), 'DD/MM/YYYY hh:mm:ss.ffffff')

1.png