in reply to Timezone conversion in Perl
re both Q1 and Q2:check Re^2: simple locale-dependent output functions? and/or Date::Manip
From perldoc Date::Manip (~30 lines into the synopsis):
$date = Date_ConvTZ($date); $date = Date_ConvTZ($date,$from); $date = Date_ConvTZ($date,"",$to); $date = Date_ConvTZ($date,$from,$to);
ie, Date::Manip does TZ conversions; I admit I have not experimented with your attempt to distinguish between CSTs
Question 2: not even a half-baked idea... except to observe that knowing the location using CST provides at least the basis for an inference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Timezone conversion in Perl
by rlucas (Scribe) on Dec 27, 2007 at 06:30 UTC | |
by dsheroh (Monsignor) on Dec 27, 2007 at 17:10 UTC | |
by autarch (Hermit) on Dec 28, 2007 at 04:48 UTC |