• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

Validate a date prior to 1970

ok. I'm a bit of a Noob when it comes to perl - still learning so please be gentle.

My problem is this. I wish to validate a persons age - to ensure they are over 13 (coppa laws).
My biggest problem is that mktime will only deal with persons born after the 8th January 1970.
Is there a similar function that is capable to validating earlier birthdates?

TIA.
0
dbdave
Asked:
dbdave
  • 2
1 Solution
 
ozoCommented:
Date::Manip
0
 
ozoCommented:
Date::Calc
0
 
mjcoyneCommented:
Someone born before 8th January 1970 is automatically older than 13, by a good margin.  What validation are you trying to do?
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now