Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Luben
Creator
Creator

Date conversion

hello friends how can i convert 14/08/2020 into month weeks year and quarter 

 

Thanks

1 Solution

Accepted Solutions
Vegar
MVP
MVP

Assuming your value is found within a field named [Date field]. 

Month(date#([Date field], 'MM/DD/YYYY'))

Week(date#([Date field], 'MM/DD/YYYY'))

Year(date#([Date field], 'MM/DD/YYYY'))

  'Q' & Ceil(Month(DateNumdate#([Date field], 'MM/DD/YYYY')/3) 

 

View solution in original post

1 Reply
Vegar
MVP
MVP

Assuming your value is found within a field named [Date field]. 

Month(date#([Date field], 'MM/DD/YYYY'))

Week(date#([Date field], 'MM/DD/YYYY'))

Year(date#([Date field], 'MM/DD/YYYY'))

  'Q' & Ceil(Month(DateNumdate#([Date field], 'MM/DD/YYYY')/3)