[TriLUG] a quickie perl question
Lance A. Brown
lance at bearcircle.net
Fri May 16 18:59:22 EDT 2008
Greg Brown said the following on 5/16/2008 6:45 PM:
> But how can I convert this past date:
>
> Sun May 11 18:02:35 2008
>
> .... back to epoch? I want to subtract the past epoch date from the current
> to find out how many days have passed. This should be simple (and I'm sure
> it is) but this rusty part of the brain refuses to work and I'm not finding
> what I'm needing from Google.
>
> Any help would be greatly appreciated.
Date::Calc and Date::Manip can both do this.
--[Lance]
--
GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
CACert.org Assurer
More information about the TriLUG
mailing list