[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-datetime
Subject: RE: Getting the local time on windows
From: Dave Rolsky <autarch () urth ! org>
Date: 2005-08-16 14:55:44
Message-ID: Pine.LNX.4.61.0508160955120.26270 () urth ! org
[Download RAW message or body]
On Tue, 16 Aug 2005, Dan Horne wrote:
> Alas, I was hoping that somehow local would just read the time set on the
> clock rather than erroring. Thanks Rick,
You can get that from this:
my $dt = DateTime->now( time_zone => $my_time_zone );
So if you explicitly give it the time zone it'll give you your local time.
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic