Pi Squared Logo

Time & Date experiments

I wrote this simple code requesting timedate from server
2012-02-07 09:00:11

I copied and manipulated this code from w3schools
Result with date():
Tuesday
Tue 7-Feb-2012 09:00:11 AM America/Los_Angeles
Oct 2,1975 was on a Thursday
Tue, 07 Feb 12 09:00:11 -0800
1975-10-03T00:00:00-07:00

Result with gmdate():
Tuesday
Tuesday 07th of February 2012 05:00:11 PM
Oct 2,1975 was on a Thursday
Tue, 07 Feb 12 17:00:11 +0000
1975-10-03T07:00:00+00:00

Web site by StevenGrindle.com


Free Internet Browsers

Firefox Logo   Safari Logo Internet Explorer Logo

Amaya Logo


This web site is designed to be compliant with standards developed by the World Wide Web Consortium (W3C)

Valid XHTML 1.0 Strict   Valid CSS!