# Strange day calander \[js\]

**URL:** <https://forum.kirupa.com/t/strange-day-calander-js/133415>\
**Category:** Uncategorized\
**Created:** [January 8, 2005, 5:16am UTC](https://forum.kirupa.com/t/strange-day-calander-js/133415 "2005-01-08T05:16:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amitgeorge](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@amitgeorge](https://forum.kirupa.com/u/amitgeorge)\
**Post date:** [January 8, 2005, 5:16am UTC](https://forum.kirupa.com/t/strange-day-calander-js/133415/1 "2005-01-08T05:16:40Z")

</div>

i noticed a strange problem

dDate = new date(2004, 10, 31);  
alert(dDate.getUTCDay());

now if your computer is set at India time (+5:30), it gives 2  
and if it is set at GMT, it gives 3

so its tuesday on 31st in UK and wednsday on 31st in India ?

help me out please !!!
