Set date and time settings