source: trunk/timestamp.php @ 76

Last change on this file since 76 was 76, checked in by pinsard, 16 years ago

no more NEMO reference in XSL files; project information (name and home page are in main.xml

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