get local and set default time