Created
February 6, 2012 02:32
-
-
Save delphinus/1749045 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Time::Piece; | |
#my $d = localtime(time); | |
my $d = Time::Piece->strptime('2012-01-01', '%Y-%m-%d'); | |
print $d->add_months(3)->ymd . "\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment