Thank you Massimo, You solution is very good. I am using a javascript code that detects timezone and other things, but i should change it to your way for sure. Although this script does the job for me but it's more complicated.
detect_timezone.js
Description: JavaScript source