Options: Support date and time input when NTP is off

Also fixed various bugs related to date operations