in reply to Find number of epoch seconds given a date and time

Actually it returns the number of seconds since 0000 Jan 1, 1970 GMT. There are various modules on CPAN that can parse date strings. Try Date::Parse or search for "Date" on search.cpan.org for others.

If you really want "seconds since 1900", you'll probably have to use Date::Manip or something.

  • Comment on Re: Find number of epoch seconds given a date and time