Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
gkcchowdary
Creator
Creator

My date showing number format I need convert date format?

Hi

I have date field and my data showing number format like.   42703.6106944444

          42703.628217593

How to convert to date field.i need two ways

1)only date like 5/17/2018

2)with time stamp  5/17/2018 01:35:22 like that.

Thanks

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Date(Floor(<number>), 'MM/DD/YYYY') - for date only

Timestamp(<number>, 'MM/DD/YYYY hh:mm:ss') - for timestamp detail

View solution in original post

2 Replies
tresesco
MVP
MVP

Date(Floor(<number>), 'MM/DD/YYYY') - for date only

Timestamp(<number>, 'MM/DD/YYYY hh:mm:ss') - for timestamp detail

YoussefBelloum
Champion
Champion

Hi,

if you're loading a timestamp field with the format described above, you can try this:

Timestamp(Timestamp#(your_field,'M/DD/YYYY hh:mm:ss'),'M/DD/YYYY hh:mm:ss') as the_name_you_want