get and set Windows date and time