Why is the @ character required for some DateTime objects in php

When creating a DateTime object with a unix timestamp, why should the @ symbol precede the timestamp?

+4
source share
1 answer

As far as I know, this is so that the timestamp can be identified from other valid formats.

http://www.php.net/manual/en/datetime.formats.php

unix timestamp is in composite formats.

+4
source

All Articles