datetime - How do I convert a date/time to epoch time (aka unix time -- seconds since 1970) in Perl?
Given a date/time as an array of (year, month, day, hour, minute, second), how would you convert it to epoch time, i.e., the number of seconds since 1970-01-01 00:00:00 GMT? Bonus question: If giv... ... This is the simplest way to get unix time: use Time...