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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Time stamp to date conversion

Hi,

How to convert the date time stamp to date.

Please find below for reference:

Untitled.png

Thanks..

1 Solution

Accepted Solutions
marcus_sommer

You could use: date(floor(UPLIST_DATE))

- Marcus

View solution in original post

7 Replies
marcus_sommer

You could use: date(floor(UPLIST_DATE))

- Marcus

nareshthavidishetty
Creator III
Creator III
Author

Hi Marcus,

I have convert using date(floor(UPLIST_DATE)) but the dates are not selected correctly.


Please find below for reference.


Untitled.png


Thanks..

marcus_sommer

Are there further selections in other fields?

- Marcus

vinieme12
Champion III
Champion III

This should work, dI'd you have any other selections when taking this screenshot?

ADD AN EXPRESSION TO  uplist _date list box

Isnum (uplist_date)   and check if these are properdates

May have extra spaces or garbage character that we'll need to trim

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
alis2063
Creator III
Creator III

Dear,

You can use alt function to get desired date format,

alt(
date#(DATE_FIELD,'MM/DD/YYYY'),

)
AS date

MK_QSL
MVP
MVP

Date(Floor(TimeStamp#(UPLIST_DATE,'M/D/YYYY h:mm:ss tt'))) as Date

Time(Frac(TimeStamp#(UPLIST_DATE,'M/D/YYYY h:mm:ss tt'))) as Time

MarcoWedel

DayName(UPLIST_DATE) as Date

Hope this helps

Regards

Marco