Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a date in the format 56321, would like to be able to convert a column in another year and month, separated, how can I do this?
Hi,
for counting the age it is better to use this expression:
Floor(Num(Today() - DateofBirth)/365,25)
that means, 365,25 is the number of days a year with a quarter day for 29th of February and floor truncs the decimals
Greetings
Martina
Hi,
Date(56321,'YYYY/MM') gives 2054/03
or
Date(56321,'YYYY') gives 2054 for Month, Date(56321,'MM') gives 03
Hope it helps
Thanks, but i have a age column, for example: -54950, how do I convert to, for example, 50 years, 49 years?
HI,
Try like this,
=age(fabs(-54950),num(today())) gives 37.
Hope it helps
Explain about age conversion with the data you provided little more breifer?
Hi,
for counting the age it is better to use this expression:
Floor(Num(Today() - DateofBirth)/365,25)
that means, 365,25 is the number of days a year with a quarter day for 29th of February and floor truncs the decimals
Greetings
Martina