

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Remove Timestamp
Hi Friends,
I am using Qliksense 3.1 version. im trying to remove time stamp from below date.
Please help me , how to get this done.
Available Date format:
2017-05-30 18:22:12.201+05:30
Required Date format
2017-05-30
Regards,
Rajendra
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To get the first 10 characters use :
left('2017-05-30 18:22:12.201+05:30',10)
But probably better to convert it Qlik Date format with :
date(date#(left('2017-05-30 18:22:12.201+05:30',10),'YYYY-MM-DD'),'YYYY-MM-DD')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To get the first 10 characters use :
left('2017-05-30 18:22:12.201+05:30',10)
But probably better to convert it Qlik Date format with :
date(date#(left('2017-05-30 18:22:12.201+05:30',10),'YYYY-MM-DD'),'YYYY-MM-DD')

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
or, if You have also timestamp like 2017-1-6 ..............
SET DateFormat='YYYY-MM-DD';
Date(SubField(Date,' ',1))
Regards,
Antonio


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both conversions working fine.
Thanks a lot
Regards,
Rajendra


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pls refer this, same solution can be applied at front end.
Date(Date#(Date,'YYYY-MM-DD hh:mm:ss.fff+05:30'),'YYYY-MM-DD')


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your question is now answered, please flag the Correct Answer (via the big "Correct Answer" button near every post) and Helpful Answers (found under the Actions menu under every post).
If not, please make clear what part of this topic you still need help with .


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Done.
Thanks for Suggestions
Regards,
Rajendra
