hello!
If I enter either of the following to the date_is_valid routine it returns the same result.
my $result = date_is_valid('2004-06-10 10:30:20');
my $result = date_is_valid('2004-06-98 10:30:20');
Does this subroutine just check the formatting? or for real dates?
Obviously the 98th of June isn't a real date so I would have thought that would return an error?
regan.
If I enter either of the following to the date_is_valid routine it returns the same result.
my $result = date_is_valid('2004-06-10 10:30:20');
my $result = date_is_valid('2004-06-98 10:30:20');
Does this subroutine just check the formatting? or for real dates?
Obviously the 98th of June isn't a real date so I would have thought that would return an error?
regan.