Stats

183 Contributors: 14 Thursday, December 29, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Working with Dates and Time

Syntax

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

Related Examples