source: trunk/timestamp.php

Last change on this file was 108, checked in by pinsard, 14 years ago

usage of option directive

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