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;


		return 0;



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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: