the most simple solution :
imagine you're in GMT-2
do the following :
export OLDTZ=$TZ
export TZ=GMT+22 # (-2 + 24) (if your're in GMT+6 do GMT+30)
DATE=`date`
export TZ=$OLDTZ
#this tip allow your to decrease or increase minutes too. (by GMT-2:30 you'll decrase time by 30 min)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.