Skip to content

Instantly share code, notes, and snippets.

@derhansen
Created January 24, 2016 18:02
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 derhansen/3ae48c60fab4cecb9875 to your computer and use it in GitHub Desktop.
Save derhansen/3ae48c60fab4cecb9875 to your computer and use it in GitHub Desktop.
DateTime object for the 01.01.16 using \DateTime::createfromformat('d.m.Y', '1.1.16')
class DateTime#1 (3) {
public $date =>
string(26) "0016-01-01 18:56:23.000000"
public $timezone_type =>
int(3)
public $timezone =>
string(13) "Europe/Berlin"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment