Re: String Date to apoch

2003-12-12 Thread Jeff 'japhy' Pinyan
On Dec 12, Paul Kraus said: >How can I convert a date that is a string such as "12/12/03" to apoch so >that I can then compare it to time and if its <= time do something. I suggest using the STANDARD module, Time::Local. It gives you a function called timelocal(), which takes six arguments: sec,

Re: String Date to apoch

2003-12-12 Thread Wiggins d Anconia
> How can I convert a date that is a string such as "12/12/03" to apoch so > that I can then compare it to time and if its <= time do something. > I can't give code because this is still a concept. > > But the check is that cron will scan a directory hourly or daily. Parse > the filenames which

Re: String Date to apoch

2003-12-12 Thread Rob Dixon
Paul Kraus wrote: > > How can I convert a date that is a string such as "12/12/03" to apoch so > that I can then compare it to time and if its <= time do something. > I can't give code because this is still a concept. > > But the check is that cron will scan a directory hourly or daily. Parse > the