santanudas
Technical User
Greetings all,
As said in the subject line, trying to write a script to print the number of years, months weeks and days between two given dates. Does anyone know how to do that?
So far I've tried Date::Calc module, which returns the difference as number of days but then I'm stuck converting it into years, months, weeks and day form. Any help highly appreciated. Thanks in advance. cheers!!!
As said in the subject line, trying to write a script to print the number of years, months weeks and days between two given dates. Does anyone know how to do that?
So far I've tried Date::Calc module, which returns the difference as number of days but then I'm stuck converting it into years, months, weeks and day form. Any help highly appreciated. Thanks in advance. cheers!!!