main logo
Subject: [ProLinux] PHP/Postgres date math confusion...
Author: Matthew Jarvis
Posted: 2006/05/31 12:28:09
 
View Entire Thread
New Search


I am having a serious brain fart today...

All I wanna do is compare a date I've retrieved from a table to the
current date, and if the interval is more than a year then set a flag so
I can display it in a report.

No problem, but I'll be darned if I can get this to work... Me thinks
I'm confusing my PHP and Postgres...

So if I'm running PHP code and I've got the table date stored to $date,
then how do I do the comparison?

mj

--
Matthew S. Jarvis
IT Manager
Bike Friday - "Performance that Packs."
www.bikefriday.com
541/687-0487 x140
mattj at bikefriday DOT com



 
©2006 Matthew Jarvis
<-- Prior Message New Search Next Message -->