I want to create a date object, and have the time saved as I put it there.
An example:
var date = new Date(2011, 06, 13, 7, 15, 0, 0);
Right now, when I create a date object, it edits the time to my time zone, and I don’t want that.
So for example, if I create a time ‘7:15’ it will edit it to ‘5:15’ because i’m in GMT + 2.
I just want it to be created as 7:15, and don’t look at the timezone.
How can this be done? I hope my problem is clear enough.
Thanks!
Tjellekes
add the resulting date with timezone offset like this: