Set time to localtime.