source: trunk/timestamp.php @ 253

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

usage of option directive

  • Property svn:keywords set to Id
File size: 591 bytes
RevLine 
[2]1<?php
2
[76]3/*rst
4
[108]5.. _timestamp.php:
6
[95]7=============
8timestamp.php
9=============
[76]10
[95]11------
12+todo+
13------
[2]14
[95]15TODO
16====
[76]17
[2]18++ quand on sera passer en PHP => 5.1
[76]19
[2]20++ - decommenter date_default_timezone_set('UTC')
[76]21
[2]22++ - remplacer gmdate par date
[76]23
[95]24EVOLUTIONS
25==========
26
[33]27$Id$
[76]28
29- fplod 2007-05-09T09:14:02Z aedon.locean-ipsl.upmc.fr (Darwin)
30
31  * creation
[80]32
[2]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.