You alredy know how a LOOP works, may be if you research DATE functions something would pop up in your mind.