Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /* |
---|
4 | source : |
---|
5 | /usr/home/fplod/incas/bibnemo/src/bibnemomaf/timestamp.php sur aedon.locean-ipsl.upmc.fr |
---|
6 | |
---|
7 | update : |
---|
8 | ++ quand on sera passer en PHP => 5.1 |
---|
9 | ++ - decommenter date_default_timezone_set('UTC') |
---|
10 | ++ - remplacer gmdate par date |
---|
11 | fplod 2007-05-09T09:14:02Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
12 | creation |
---|
13 | */ |
---|
14 | |
---|
15 | /* |
---|
16 | Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP 5.1 |
---|
17 | date_default_timezone_set('UTC'); ++ |
---|
18 | */ |
---|
19 | error_reporting(E_ALL); |
---|
20 | |
---|
21 | $DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */ |
---|
22 | |
---|
23 | echo gmdate($DATE_ISO8601_mod); |
---|
24 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.