Skip to content

Instantly share code, notes, and snippets.

@gthomas3
Created November 10, 2013 22:35
Show Gist options
  • Save gthomas3/7404845 to your computer and use it in GitHub Desktop.
Save gthomas3/7404845 to your computer and use it in GitHub Desktop.
cookie date time check
foreach ($result as $key => $value) { // compare date elements to current date
$reminderDate = $value[4] . "-" . $value[1]. "-" . $value[2]; // concatenate to match format of date function
if ($reminderDate == DATE) {
$queue[] = $key;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment