vlibDate

vLIB logo

6.16. isFutureDate()

Function Description
  isFutureDate (string timestamp)

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

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

Example

   $infuture = $date->isFutureDate('2005-01-01');