[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Converting time in perl
- Subject: [ale] Converting time in perl
- From: cfowler at outpostsentinel.com (Christopher Fowler)
- Date: Sat May 7 11:25:53 2005
- In-reply-to: <[email protected]>
- References: <[email protected]>
I guess a simplier thing I'm trying to explain is that I wantto convert
localtime on the device into localtime on the server since all
dates in the database are stored in localtime of the server.
On Sat, 2005-05-07 at 10:59, Christopher Fowler wrote:
> I am receiving time strings in the format like this
>
> "00:00:00 UTC"
>
> I could receive timezones like EDT. What I need to do is convert
> that time into an epoch on my server. The server will receive that
> string from the remote device and the server is in Eastern or Central.
> Anywhere in the US. So I will be converting that UTC time int the exact
> time on the server. Any ideas on how best to accomplish this?
>
> Chris
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale