source: trunk/timestamp.php @ 105

Last change on this file since 105 was 95, checked in by pinsard, 14 years ago

add rest2web for manuals production (and start sphinx but not yet ok)

  • Property svn:keywords set to Id
File size: 571 bytes
Line 
1<?php
2
3/*rst
4
5=============
6timestamp.php
7=============
8
9------
10+todo+
11------
12
13TODO
14====
15
16++ quand on sera passer en PHP => 5.1
17
18++ - decommenter date_default_timezone_set('UTC')
19
20++ - remplacer gmdate par date
21
22EVOLUTIONS
23==========
24
25$Id$
26
27- fplod 2007-05-09T09:14:02Z aedon.locean-ipsl.upmc.fr (Darwin)
28
29  * creation
30
31*/
32
33/*
34 Définit le fuseau horaire par défaut à utiliser. Disponible depuis PHP 5.1
35date_default_timezone_set('UTC'); ++
36*/
37error_reporting(E_ALL);
38
39$DATE_ISO8601_mod = 'Y-m-d\TH:i:s\Z'; /* +Z - fraction seconde */
40
41echo gmdate($DATE_ISO8601_mod);
42?>
Note: See TracBrowser for help on using the repository browser.