Query: cgi::validop::check::date
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CGI::ValidOp::Check::date(3pm) User Contributed Perl Documentation CGI::ValidOp::Check::date(3pm)NAMECGI::ValidOp::Check::date - CGI::ValidOp::Check module to check if input looks like a date.DESCRIPTIONiso Checks for ISO 8601 compliance: YYYY-MM-DD. Returns date in compliant format, zero-padded if necessary. american Checks that the date is a standard American mm/dd/yyyy or mm-dd-yyyy date. Insists on 4 digit years. Leading zeros for month and day are optional. Returns date in ISO format with leading zeros. This allows the application to handle dates in a single, consistent format. The presentation layer can then concern itself with what format dates need to be displayed in. general Checks that the date is either iso or american format. Returns iso format.AUTHORRandall Hansen <legless@cpan.org> Joshua Partlow <jpartlow@opensourcery.com>COPYRIGHTCopyright (c) 2003-2006 Randall Hansen. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.10.1 2009-11-30 CGI::ValidOp::Check::date(3pm)
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Detecting unused variables... |
One instance of comparing grep and awk |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |