in reply to How to get the correct incremented month through DateTime::Precise ?
#/usr/bin/perl use strict; use warnings; use Time::Piece; use Time::Piece::Month; use Time::Seconds; my $date = Time::Piece->strptime( "2002-01-31", '%Y-%m-%d' ); $date += ONE_MONTH; print "\n Date:",$date->ymd;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get the correct incremented month through DateTime::Precise ?
by davorg (Chancellor) on Oct 16, 2006 at 11:43 UTC |