[thelist] Need some PHP Syntax help

misterhaan misterhaan at track7.org
Thu Apr 26 17:17:43 CDT 2007


oops, 

> i'd do this:
> if(time() > strtotime(date('Y-m-d', $OrderDate) . ' 8:00 pm'))
>   
thought $OrderDate was a timestamp already -- you'd need an extra strtotime:

if(time() > strtotime(date('Y-m-d', strtotime($OrderDate)) . ' 8:00 pm'))




More information about the thelist mailing list