[ciapug] Date Conversion

Carl Olsen carl-olsen at mchsi.com
Thu Dec 22 12:24:51 CST 2005


Anything older than that is BP (Before PHP) ;-)

-----Original Message-----
From: ciapug-bounces at cialug.org [mailto:ciapug-bounces at cialug.org] On Behalf
Of Dave J. Hala Jr.
Sent: Thursday, December 22, 2005 11:45 AM
To: PHP List
Subject: [ciapug] Date Conversion

I found a little nasty in this code. For some reason, dates older than
1970 don't work. Anyone got any ideas?

if $date= '1970-01-01' and $type='9' the result is ok. However
$date=1969-01-01' and $type='9' returns "December 31st, 1969"
pug



More information about the ciapug mailing list