Skip to content

Instantly share code, notes, and snippets.

@dmdavis
Created May 29, 2012 20:39
Show Gist options
  • Save dmdavis/2830588 to your computer and use it in GitHub Desktop.
Save dmdavis/2830588 to your computer and use it in GitHub Desktop.
DateInterval to MySQL TIME format string
$dateInterval->format('%H:%I:%S');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment