PHPWorking with Dates and Time

Syntax

  • string date ( string $format [, int $timestamp = time() ] )
  • int strtotime ( string $time [, int $now ] )

Related Examples