Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Date
Thrusday,January 20,2022
Monday,April 02,2022
Saturday,June 10,2023
Friday,July 15,2021
Sunday,December 18,2022
Tuesday,October 21,2021
Data:
NoConcatenate Load
Date(MakeDate(Year, Month, Day), 'DD/MM/YYYY') as Date;
Load
Year,
Num(Month(Date#(Left(SubField(MonthDay, ' ', 1), 3), 'MMM'))) as Month,
Num(SubField(MonthDay, ' ', 2)) as Day;
Load
SubField(Date, ',', 2) as MonthDay,
Num(SubField(Date, ',', 3)) as Year
Inline [
Date
"Thursday,January 20,2022"
"Monday,April 02,2022"
"Saturday,June 10,2023"
"Friday,July 15,2021"
"Sunday,December 18,2022"
"Tuesday,October 21,2021"
];
@Sai-Nirant Perhaps like this way.
=Date(Date#(DateFormat, 'WWWW,MMMM DD, YYYY'), 'DD/MM/YYYY')
Its working thank you so much Clever.
I already tried this way but it's not working. Anyway, thanks for your reply, Anil.
Try this..
LOAD *, Date(Date#(Date1,'MMMM DD,YYYY'),'MM/DD/YYYY') as [Require Date];
LOAD *, SubField(Date, 'y,', 2) as Date1;
LOAD * inline [
Date
"Thrusday,January 20,2022"
"Monday,April 02,2022"
"Saturday,June 10,2023"
"Friday,July 15,2021"
"Sunday,December 18,2022"
"Tuesday,October 21,2021"
];
you can do this in one pass
date(Date#(subfield(Date,',',2)&subfield(Date,',',3),'MMMM DDYYYY'),'DD/MM/YYYY') as FormattedDate