Re: [PHP] date comparisions...

2005-10-07 Thread aaronjw
Hi Rich, Thanks for your reply. dateexpired is: 1128052800 which translates into: 2005-09-30 00:00:00 Basically, I'm just trying to figure out when the dateexpired is. IF it is past the current date then I am erroring out and if it's under the current date... I'm allowing the transaction. I wou

Re: [PHP] date comparisions...

2005-10-07 Thread Richard Davey
Hi aaronjw, Friday, October 7, 2005, 7:34:11 PM, you wrote: > if ($discountResult["dateexpired"] > date("U")) > { > //dosomething > } > else > { > //do something else > } > Anyway... it's supposed to read: IF the expired date is past the current > date... disallow "dosomething" otherwise