Search Results

Search: Posts Made By: samgdavies
20,683
Posted By samgdavies
Got it - the TZ variable does work, but I was...
Got it - the TZ variable does work, but I was using the wrong syntax - my system seems to prefer a: b :c time to x.y.

The command shown sets my user's clock 2hr, 2min and 2sec ahead of UTC...
20,683
Posted By samgdavies
Changing TZ, I only seem to be able to shift the...
Changing TZ, I only seem to be able to shift the time by whole hours (if I use a value with a decimal point the time seems to resort to UTC). Is this what you'd expect here?

e.g.:
~> date
Fri...
20,683
Posted By samgdavies
Temporarily change the date / time
Hi -

I'd like to know if it's possible to change the time on a Unix box temporarily, do some stuff, and then set it back to the correct time.

I'm testing some code that reads a time (in hours)...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy