Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikapple
Creator
Creator

date conversion

HI all ,

 I have date fields like below

 

01-NOV-19

02-NOV-19

16-NOV-19

 

I need custom fields like year, month , day, quarter with out using master calender,, can anyone please help

Labels (1)
3 Replies
qlikapple
Creator
Creator
Author

can any one please help

smilingjohn
Specialist
Specialist

Hey, 

Make sure in the script this is in a date format , 

Then you can use in the below script to get the output 

Year(Date) as Year 

Month(Date)as Month and so on ....

Brett_Bleess
Former Employee
Former Employee

I suspect you were still trying to figure out Quarter, here is a Design Blog post on that:

https://community.qlik.com/t5/Qlik-Design-Blog/Using-the-Ceil-Function-to-Create-a-Quarter-Field/ba-...

Here is Help link on the others mentioned in the other post just in case:

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/DateA...

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/DateA...

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/DateA...

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.