EASY!!! Timestamp conversion & php - Mailing list pgsql-general

From eric.jones@hua.army.mil
Subject EASY!!! Timestamp conversion & php
Date
Msg-id 506889585A61D5119B460008C7A47E650208706E@HUADOIMC2PO
Whole thread Raw
Responses Re: EASY!!! Timestamp conversion & php
List pgsql-general
CLASSIFICATION: UNCLASSIFIED

Can anyone tell me how to convert this PG timestamptz: 2002-06-05
10:39:02.480922-07

To June 5, 2002 10:39

I try this code:

<?=date("M j, Y",strtotime(2002-06-05 10:39:02.480922-07))?>

And I get Dec 31, 1969 so I know it's not working....

Help!!!

Eric Jones (Contractor)
FDIC Web Enabler
E-mail: jonese@hua.army.mil
Office - 520-533-6628
Cell - 520-980-2136
Email Pager - 5209802136@messaging.nextel.com

pgsql-general by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: need magic formula for euro conversion
Next
From: Jason Earl
Date:
Subject: Re: EASY!!! Timestamp conversion & php