in reply to Re: Simple Date Validation
in thread Simple Date Validation

How do I go about handing a date that is in this format: MM/DD/YYYY into that type of validation?

Replies are listed 'Best First'.
Re^3: Simple Date Validation
by shmem (Chancellor) on May 11, 2007 at 16:11 UTC
    $userdate = "12/31/2005"; my ($mon, $mday, $year) = split /\//, $userdate;

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re^3: Simple Date Validation
by naikonta (Curate) on May 11, 2007 at 15:48 UTC
    Just split it.

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!