I have a date is mm/dd/yyyy format, I nned to check if this date is 6 months older or not respective current date.
Please help me with smallest code possible.
If your date isn't in the 'seconds from the epoch' format, then you need Date::Calc or a similar module (not in the standard perl distribution though): see here.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.