I need to format the timestamp in ISO 8601 format (e.g. 2001-10-26T21:32:52). When I use a function date()in PHP, it replaces Twith Timezone (as it should be).
The command I use is:
$time = date("y-m-dTH:i:s", time());
This gives: 10-02-13EST10:21:03
How do I get it to insert the actual one Tand not replace it with EST?
source
share