I am sure I am making this much more difficult than it needs to be but I am struggling to find a simple answer to this.
I don't wish to use bad language, but I am basically looking for the Perl equivalent of DateSerial in Visual Basic (sorry!). I.E. to be able to easily convert a yyyy/mm/dd string into a date.
I have looked into using Date::Manip and Date:Calc but they look too complicated for my needs.
Ultimately I need to read in a date string, add or subtract days, months or years from that date, and convert back to a string.
Your help would be very much appreciated.
Marc
In reply to Converting string to date by marctwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |