How do I do daily quests for my game?

This is an interesting one, but I want to create daily quests or challenges for my game