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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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)