Skip to content

Instantly share code, notes, and snippets.

@massimoselvi
Created October 5, 2016 09:25
Show Gist options
  • Save massimoselvi/cc69b46525016ba6ad35cc4568636885 to your computer and use it in GitHub Desktop.
Save massimoselvi/cc69b46525016ba6ad35cc4568636885 to your computer and use it in GitHub Desktop.
Laravel: get the date with format (MySQL timestamp)
Debugbar::addMessage(date("Y-m-d H:i:s"), __FILE__);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment