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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to extract date,month and year from datefield

Hi everyone i want to extract date,month,year from a datefield(2\21\2010). Kindly let me know how to extract. Thanks in advance.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Hi,

Its look very simple(if there is no unexpressed issue by you). You can use the inbuilt functions as

Year(DateField), Month(DateField), Date(DateFiled,'MM-DD-YYYY').

The date format you can change as you need.

View solution in original post

2 Replies
tresesco
MVP
MVP

Hi,

Its look very simple(if there is no unexpressed issue by you). You can use the inbuilt functions as

Year(DateField), Month(DateField), Date(DateFiled,'MM-DD-YYYY').

The date format you can change as you need.

Not applicable
Author

Hi Sudhans,

You can look in to the reference manual there are so many functions apart from date,month,year. You can look in it and use effectively instead of doing everything on sql.