G
Guest
This is crazy,
The following page:
-------------------------------------------------------------
<%@ Page Language="VB" Debug="true" %>
<html>
<head>
</head>
<body>
<%=WeekDayName(Weekday(Today))%>
</body>
</html>
-------------------------------------------------------------
Returns "tomorrows day" on my server, every time. Today it shows Tuesday.
If I change the date on my server clock to Tuesday 22nd November 2005, this
script will return a "Wednesday" - it is always out by a day.
I can obviously use this to fix temporarily:
<%=WeekDayName(Weekday(Today)-1)%>
But, I would love to figure out the problem.
Any ideas?
Regards,
Gary.
The following page:
-------------------------------------------------------------
<%@ Page Language="VB" Debug="true" %>
<html>
<head>
</head>
<body>
<%=WeekDayName(Weekday(Today))%>
</body>
</html>
-------------------------------------------------------------
Returns "tomorrows day" on my server, every time. Today it shows Tuesday.
If I change the date on my server clock to Tuesday 22nd November 2005, this
script will return a "Wednesday" - it is always out by a day.
I can obviously use this to fix temporarily:
<%=WeekDayName(Weekday(Today)-1)%>
But, I would love to figure out the problem.
Any ideas?
Regards,
Gary.