vlibDate

vLIB logo

6.17. isPastDate()

Function Description
  isPastDate (string timestamp)

Returns true if the given timestamp is in the past, false otherwise.

The timestamp parameter is a vlibDate timestamp. For more information, please see the IMPORTANT section.

Example

   $inpast = $date->isPastDate('1999-01-01');