Why allow you to set your own date anyway? The device should just talk to an NTP server. Wouldn't want a malicious human setting an incorrect date now, would we? That's dangerous!
What does "right month" and "right year" mean? Server time or local time? Either you're trusting the user's device, or your clock is always 12 hours off for some users.