On Wed, 25 Aug 2004, Kaare Rasmussen wrote:
I can't seem to find a way to set a default timezone for all new DateTime
objects.
There's a class method for setting the default locale, but no method for
setting the Timezone. Did I miss it, or is there no way to set the default
timezone ?
There
Andrew Sterling Hanenkamp schreef:
Just a suggestion for improvement to Eugene van der Pijll's nifty
DateTime::Format::Epoch module. Inside of ActiveDirectory, it uses the
same interval (100-nanos) as .NET, but the epoch base is January 1,
1601 UTC, rather than January 1, A.D. 1.
Andrew Sterling Hanenkamp schreef:
my $ad_date_format = DateTime::Format::Epoch-new(
epoch = $epoch, unit = 1e7, type = 'bigint', skip_leap_seconds
= 1,
local_epoch = undef);
Just a small question: are you sure that the Active Directory count is
in UTC? The DotNet count is in local