The time is specified as per the time() function, which is assumed to be the number of non-leap seconds since January 1, 1970.DateTime::datetime returns a formatted string, e.g. 2006-09-11T00:00:00. You should be using $dt->epoch instead.
In reply to Re: Seeking an example of Time::Period usage
by imp
in thread Seeking an example of Time::Period usage
by jking
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |