Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

how to convert actual date format

Hi all

  How to convert 42185 to actual date format

11 Replies
jsingh71
Partner - Specialist
Partner - Specialist

Date(<Date_Field>,'MM/DD/YYYY')

During Load

Date(<Date_Field>,'MM/DD/YYYY') as <NewFieldName>

As per your Example:

 

=Date('42185', 'MM/DD/YYYY')

Output:  06/30/2015

alexandros17
Partner - Champion III
Partner - Champion III

Date(42185)

let me know

arulsettu
Master III
Master III

try this

=Date('42185')

krishna20
Specialist II
Specialist II

Hi,

If you wanna see simple date format of your date field. Take that field in the list box.Go to properties->

Number->override Document Settings-> select Date/.

Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

If you wanted to convert it Numeric value from the script to date or in UI do DATE(42185).

This should give you date format according to how you've define your date format from the GLOBAL variable in the script

vardhancse
Specialist III
Specialist III

Date(Floor(42185))

o/p: 30/06/2015

Not applicable

Capture.PNG

sunilkumarqv
Specialist II
Specialist II

try like this

Date(Date#(DateField,'MM/DD/YYYY'))

SatyaPaleti
Creator III
Creator III

Hi Sunil,

Date(Floor(42185)) as Date

Thank you,

SatyaPaleti