Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

How to recode date from 21.9.2019 to 21/9/2019

Hi All

My below script :-

[Posting Date] as [date_sales],

Return :-
01.02.19
01.03.19
01.04.19
01.07.19

I need to return as below format :-
6/1/2017
8/1/2017
9/1/2017
10/1/2017
11/1/2017

Paul Yeo

1 Solution

Accepted Solutions
agigliotti
Partner - Champion
Partner - Champion

maybe this:

Date( Date#([Posting Date], 'DD.MM.YY'), 'DD/YY/YYY') as [date_sales]

View solution in original post

4 Replies
wade12
Partner - Creator II
Partner - Creator II

clipboard_image_0.png

StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

 

try this:

Date(Date#(Replace([Posting Date],'.','/'),'MM/DD/YYYY'),'D/M/YYYY') as [date_sales]

agigliotti
Partner - Champion
Partner - Champion

maybe this:

Date( Date#([Posting Date], 'DD.MM.YY'), 'DD/YY/YYY') as [date_sales]

paulyeo11
Master
Master
Author

Hi All

Thank you very much for your sharing.

Paul