vlibDate

vLIB logo

6.7. now()

Function Description
  now ()

Returns a vlibDate timestamp for the current date.

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

Example

   $today = $date->now(); // $today equals '2002-04-28' for example.