in reply to Getting seconds from date
...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 Section
Seekers of Perl Wisdom
in reply to Getting seconds from date
...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" );
|
---|