Skip site navigation (1) Skip section navigation (2)

Date question

From: "Grant Henderson" <granth(at)fusion-advertising(dot)co(dot)uk>
To: <pgsql-php(at)postgresql(dot)org>
Subject: Date question
Date: 2003-09-10 09:46:35
Message-ID: 31EA81C61A3D014F8D6933864F32C60413C8A2@server1.fusion-advertising.co.uk (view raw or flat)
Thread:
Lists: pgsql-php
How do I convert a postrgesql timestamp
To an english date

E.g.
	$order_date = "2003-09-10 09:40:30+01";
	$date = date("d/M/Y", $order_date);
	print($date);

Responses

pgsql-php by date

Next:From: Bastiaan WakkieDate: 2003-09-10 13:51:34
Subject: Re: Help me
Previous:From: Luis HDate: 2003-09-05 12:43:20
Subject: Re: Strange browser behavior when querying PostgreSql database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group