Check for repeating dates.

Posted by kylex on Stack Overflow See other posts from Stack Overflow or by kylex
Published on 2010-06-10T21:51:42Z Indexed on 2010/06/10 22:02 UTC
Read the original article Hit count: 353

Filed under:
|
|

I am creating a calendar in PHP and in the database have a date, let's say 6-10-10.

Sometimes I have repeating events, stored as weekly repeating, so if the date is 6-10-10, and I am repeating an event every two weeks from that day (including that day) what is the best way to find dates for every two weeks from 6-10-10?

For example, let's say the date is 7-8-10, how can I check to see that date meets my criteria?

© Stack Overflow or respective owner

Related posts about php

Related posts about dates