J
Jack
Hi folks,
I am looking to find some code that tests a string as being a valid
"date" data type.. I tried this but it doesnt seem to work
$ENV{TZ} = 'PST';
use Date::Manip;
$datetest = '1111';
$date = ParseDate($datetest);
print $date;
This program returns: 1111010100:00:00
which is not a valid date for example, obviously.
Any help would be appreciated
I am looking to find some code that tests a string as being a valid
"date" data type.. I tried this but it doesnt seem to work
$ENV{TZ} = 'PST';
use Date::Manip;
$datetest = '1111';
$date = ParseDate($datetest);
print $date;
This program returns: 1111010100:00:00
which is not a valid date for example, obviously.
Any help would be appreciated