Results 1 to 5 of 5
Thread: Bizarre date problem...
Mar 29, 2013, 19:14 #1
- Join Date
- Oct 2010
- 0 Post(s)
- 0 Thread(s)
Bizarre date problem...
This is really weird and I'm hoping there's a really simple answer...
According to php.net, to get the current day of the week you should use
$day = date("l");
So this is my code:
But it keeps saying today is "Mon"
This isn't even a full textual representation of the day, it's just a textual representation of a day, three letters which according to php.net is achieved by using date('D') - Yet even when I use this it still says "Mon"
Why is it doing this when today is in fact Friday in New York (Saturday where I am) --- nowhere in the world is it currently Monday!