Created
November 10, 2013 22:35
-
-
Save gthomas3/7404845 to your computer and use it in GitHub Desktop.
cookie date time check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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