Definition:
function is_new_day() {}
Whether today is a new day.
Return values
returns:1 when new day, 0 if not a new day.
Source code
function is_new_day() {
global $currentday, $previousday;
if ( $currentday != $previousday )
return 1;
else
return 0;
}
2147

February 12, 2011 


No comments yet... Be the first to leave a reply!