
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Convert date time field to timestamp
Hi folks,
Greeting for the day. I have a column which contains date and time in following format;
'24-AUG-21 12:00:00.4660000 AM'
It has string data type.
The desire format is;
24/08/2021 00:00:00
Should have data type timestamp.
- « Previous Replies
-
- 1
- 2
- Next Replies »

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check timestamp() and Timestamp#()
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 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=TimeStamp(Timestamp#('24-AUG-21 12:00:00.4660000 AM','DD-MMM-YY hh:mm:ss.ffff TT'))
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 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
use this
TimeStamp(Timestamp#(ColumnName,'DD-MMM-YY hh:mm:ss.ffff TT'),'DD/MM/YYYY hh:mm:ss') as ColumnName

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for reply. But, it is not working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what do you mean by not working?? is it giving you any error? or giving you wrong output? can you share some screenshot of it..
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 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not giving error. It is not computing value, output is "-"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
not sure, why it's not working for you. Please find below screenshot.
load * Inline
[
time1
24-AUG-21 12:00:00.4660000 AM
];

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
where you are writing?? in text box or in script??
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 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Prashant
I'm writing in script, as keen to have column to make different operations.

- « Previous Replies
-
- 1
- 2
- Next Replies »