...and just to show you how easy it can be using a module (and the time() function):
use Date::Parse; print time - str2time( "2011-06-05 11:00:00" );
In reply to Re: Getting seconds from date
by Not_a_Number
in thread Getting seconds from date
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |