You are here: function to validate date? « PHP Programming Language « IT news, forums, messages
function to validate date?

Posted by laredotornado on 10/18/05 18:57

Hi,
Does anyone know a predefined function (or can provide one) that
takes three varaibles, $day, $month, and $year and returns whether or
not all three constitute a valid date in which it is expected that day
is a 2 or 1 digit number, month is a 2 or 1 digit number, and year is a
4 digit number.

I'm using PHP 4.

Thanks, - Dave

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация