updated system clock to include local time option.