is_new_day

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

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:

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: