How to set the time for a specific local in javascript
- by Joao
Hi,
i have a problem, and maybe someone can help me, i will explain...
i have the in javascript "var date= new date();" and its give me the local time (browser time) but i want force this data/time for a especific local... for example... Spain. i want everytime that someone enter in the page (from others country) the date need be the spanish hour.
i found some soluction but the problem is the summer time and winter time... we have offset variations because some time is +1 hours and others is +2....
someone can help me in one soluction?
thanks
[email protected]