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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -