vlibDate
Table of Contents
| Up:
6. vlibDate
| Previous:
6.17. isPastDate()
| Next:
6.19. isLeapYear()
6.18. isDate()
Function Description
isDate (string timestamp)
Returns true if the given timestamp is valid, false otherwise.
The timestamp parameter is a vlibDate timestamp. For more information, please see the IMPORTANT section.
Example
if (!$date->isDate('1999-13-35')) die ('invalid date!');