Skip to content

Instantly share code, notes, and snippets.

@rantastic
Created April 12, 2013 23:19
Show Gist options
  • Save rantastic/5375970 to your computer and use it in GitHub Desktop.
Save rantastic/5375970 to your computer and use it in GitHub Desktop.
PHP: Datetime date format
$date = date('Y-m-d H:i:s');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment