Re: Date to seconds

2003-09-17 Thread Rob Dixon
Kit-Wing Li wrote: > > Does anybody know of a quick method in perl to turn a date string into its > equivalent in seconds, include milliseconds if possible? Ex: 20030910 > 13:50:25.6 to 1063202644. Thanks much! The Date::Manip module will do it for you easily, as long as you're not worried abou

Re: Date to seconds

2003-09-11 Thread Alexander Blüm
eks : 01day : 14hours : 04minutes : 04seconds oooh... since 1970 00:00:00 try "print time()"; if you want to convert any other date to seconds since 1970, you will have to convert the year, month and day seperately to seconds, don't forget, the hours and minutes... -- To unsubscri

Date to seconds

2003-09-11 Thread Li, Kit-Wing
Hi, Does anybody know of a quick method in perl to turn a date string into its equivalent in seconds, include milliseconds if possible? Ex: 20030910 13:50:25.6 to 1063202644. Thanks much! -- This message is intended o