Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $upcoming = array();
- $today = new DateTime('today');
- for($i=1; $i<21; $i++)
- {
- $today->modify('+1 day');
- $upcoming = array_merge($upcoming, self::recurringEventIndentifierLoop($recurringEvents, clone $today));
- }
Advertisement
Add Comment
Please, Sign In to add comment