Check if a time in a timezone is elapsed in php? -


here's time entered user cdt 2011-02-01 16:30:00

how know if time passed in php?

thanks

$usertime = strtotime('cdt 2011-02-01 16:30:00'); if (time() > $usertime) echo 'time passed'; 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -