[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] PERL + SQL Dates
- Subject: [ale] PERL + SQL Dates
- From: esoteric at 3times25.net (Geoffrey)
- Date: Tue Apr 27 09:16:36 2004
- In-reply-to: <1083070211.17414.55.camel@devel>
- References: <1083070211.17414.55.camel@devel>
Chris Fowler wrote:
> Maybe I asked this before?
>
> I'm storing my dates in MySQL as "YYYY-MM-DD HH:MM:SS" I need to be
> able in perl to convert that time to epoch and also convert an epoch
> into that format. Anyone have any secrets for me?
Check out the timelocal() and localtime() mods..
>
> Thanks,
> Chris
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
--
Until later, Geoffrey Registered Linux User #108567
Building secure systems in spite of Microsoft