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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Datetime format

In my Load script,

(Modified_Date, 'YYYY-MM-DD hh:mm:ss') as Modified_Date 

gets me the value            2014-08-12 16:03:31

but I need                          2014-08-12 16:03:31.643

I would appreciate help...

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Original field is a datetime/timestamp: date(Modified_Date, 'YYYY-MM-DD hh:mm:ss.fff') as Modified_Date

Original field is a text value: tetime/timestamp: date#(Modified_Date, 'YYYY-MM-DD hh:mm:ss.fff') as Modified_Date


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Original field is a datetime/timestamp: date(Modified_Date, 'YYYY-MM-DD hh:mm:ss.fff') as Modified_Date

Original field is a text value: tetime/timestamp: date#(Modified_Date, 'YYYY-MM-DD hh:mm:ss.fff') as Modified_Date


talk is cheap, supply exceeds demand
PrashantSangle

Hi,

try with Timestamp() and Timestamp#()

Like,

Timestamp(DateField, 'YYYY-MM-DD hh:mm:ss.fff')


Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂