Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey Community,
I have Field date whit the following Build
Date |
May 1, 2015 |
January1,2015 |
June 8, 2015 |
July 1, 2015 |
June 8, 2015 |
June 8, 2015 |
July 1, 2015 |
June 8, 2015 |
June 8, 2015 |
June 8, 2015 |
My question is how can i get the Year Month And Day at separate, I try to use Year month and day function but it dint work for me e.c
Year:2015....
Month:June,July....
Thx
Hey guys, I said i try to use the function Year(), Day(),Month() But it didnt work. i add the app and screen shot hope you will help me Thank you guys
chk attached
Hi,
There were many ways to do this one of them of them is...
Go to Script:
LOAD Date,
Year(Date) As Year,
Month(Date) As Month,
Day(Date) As Day;
Thanks
Vinay.
yes u can extract from the Date field as below
year(Datefield) as year,
Month(Datefiled) as Month,
Day(Datefield) as day...lik so on chk below link
Date(Date#(Date, 'MMMM dd, yyyy')) as Date,
Year(Date#(Date, 'MMMM dd, yyyy')) as Year,
Month(Date#(Date, 'MMMM dd, yyyy')) as Month,
...
This:
Table:
LOAD *,
Year(Date) as Year,
Day(Date) as Day,
Month(Date) as Month,
MonthName(Date) as MonthYear;
LOAD Date#(Date, 'MMMM D, YYYY') as Date Inline [
Date
May 1, 2015
January 1, 2015
June 8, 2015
July 1, 2015
June 8, 2015
June 8, 2015
July 1, 2015
June 8, 2015
June 8, 2015
June 8, 2015
] (delimiter is |);
Thank you but as i say i try already this method and its not work,
i add the app and screen shot.
Thx but as i say before this method does not work for me, i add the app and screen shot for you guys,
P.s i find jontydkpi solution good enough.
its work but still you can find at the app that two dates are in different type,
if you load the original data you will find that there is 2 dates that have only year and whit your solution it dont bring them back.
chk attached