Re: Seconds left in day + DST
[email protected] (Rick Measham)
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
P DD wrote: > my $tom = ($now + DateTime::Duration->new(days => 1))->truncate(to => > 'day'); Can I suggest this for neater code: my $tom = $dt->clone->add( days => 1 )->truncate( to => 'day' ); Cheers! Rick Measham -- Message protected for iSite by MailGuard: e-mail anti-virus, anti-spam and content filtering. http://www.mailguard.com.au