Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help on date function

Hi,

In my tabls the field HIRE_DATE is in format DD/MMM/YYYY(10-Dec-2014).

How to convert this in to number format (DD/MM/YYYY) (10-12-2014)

i tried this but not worked out

Load

HIRE_DATE,

year(HIRE_DATE),

Month(HIRE_DATE),

week(HIRE_DATE),

Day(HIRE_DATE)

Resident EMP;

1 Solution

Accepted Solutions
MarcoWedel

LOAD *,         

          Year(HIRE_DATE) as Year,

          Month(HIRE_DATE) as Month,

          Week(HIRE_DATE) as Week,

          Day(HIRE_DATE) as Day;

LOAD Date(Date#(HIRE_DATE, 'DD-MMM-YYYY'),'DD-MM-YYYY') as HIRE_DATE

Resident EMP;

View solution in original post

3 Replies
MarcoWedel

LOAD *,         

          Year(HIRE_DATE) as Year,

          Month(HIRE_DATE) as Month,

          Week(HIRE_DATE) as Week,

          Day(HIRE_DATE) as Day;

LOAD Date(Date#(HIRE_DATE, 'DD-MMM-YYYY'),'DD-MM-YYYY') as HIRE_DATE

Resident EMP;

Not applicable
Author

Hello Marcos,

Thanks for the solution.

MarcoWedel

You're welcome

regards

Marco