<?php
$timeStamp = strtotime(time());
$ayer = time() - 1 * 24 * 60 * 60;
echo date(DATE_ATOM, $ayer);
- Output for 5.1.3 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.37, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
- 2013-07-31T16:36:31+02:00
- Output for 5.1.1 - 5.1.2
- 2013-07-31T16:36:31+0200
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0
- Notice: Use of undefined constant DATE_ATOM - assumed 'DATE_ATOM' in /in/vtldc on line 7
WedPMCESTE_PMCEST+0200Jul
preferences:
165.66 ms | 402 KiB | 243 Q