source: trunk/timestamp.php @ 7

Last change on this file since 7 was 2, checked in by smasson, 17 years ago

initial import

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