there has been a few questions about this topic and i know the answer this could help others and maybe someone could help me out if what i want to do is possible
i want to chainge the timezone of the system clock from the terminal this caan be done with
tzselect "which opens a gui in terminal" or sudo cp /usr/share/zoneinfo/Europe/London /etc/localtime "which will set to gmt"
but is there a way to set time zone with just the offset ie.-1 or +5 etc?
i need to do this as im writing an aplication to adjust timeoffset or report logs and the only info i have is the user ip which i can use a webapp to locates location of ip but then i need to set offset which would be easy IF i could just get offset of location but if i need to find zone and city it would be a rreal pain if anyone knows the answer to how to set system clock with +/-hour would be great its hard to find info with ubuntu forums being down