That's pretty bizarre. I say because if I do:
Code:
<script type="text/javascript">
var d = new Date();
alert(d.toUTCString() === d.toGMTString());
</script>
in any browser (including Safari Win) I have, it alerts true.
But I suppose it's possible that on the iPad it might be false.
Try it and see.
If it is false, I'd be interested in the difference. So then do:
Code:
<script type="text/javascript">
var d = new Date();
alert('UTC = ' + d.toUTCString() + '\nGMT = ' + d.toGMTString());
</script>
and see if you can spot the difference.
Edit: Added Later:
If there is no difference, then the script was OK as it was, just some caching issue going on. However, just to be on the safe side, stick with GMT.
Bookmarks