Quote:
Originally Posted by RobTrew
Code:
date +%z | awk '{if (substr($1,1,1)!="+") {printf "+"} else {printf "-"} print substr($1,2,4)}'
|
Quote:
or perhaps more to the point, what does this return, and does it look right ?
|
NZ daylight savings time is 13 hours ahead of GMT. I'm not sure which of the two is correct but they aren't matching up. What do you think?