Skip to content

Instantly share code, notes, and snippets.

@scottalan
Created April 17, 2012 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottalan/2406249 to your computer and use it in GitHub Desktop.
Save scottalan/2406249 to your computer and use it in GitHub Desktop.
date
php > $timestamp = 1334638800;
php > $date = date('d-m-Y', $timestamp);
php > print $date;
17-04-2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment