Kevin:
?
Hope?I didn't steer you wrong. Let me show you the screen shot of what I found..
?
But I think this may be for something else. I know that in schedules, Monday always comes first, before Sunday.
?
I also cannot think of any output that assigns a number to a day.
?
Sorry to confuse you.
?
John
?
DayOfWeek or #DOW
Returns an integer index of the day of week corresponding to the Yr/Mo/Da entered.? When CalcLeap is set to 1 or a leap year, then the calc assumes 29 days in february, else 28.
?? Return values:
1.??? ????? Sun
2.??? ????? Mon
3.??? ????? Tue
4.??? ????? Wed
5.??? ????? Thu
6.??? ????? Fri
7.??? ????? Sat
Syntax
DayOfWeek(Year, Month, Day, CalcLeap )
or "#CDN(Year, Month, Day, CalcLeap)
where the first argument (Azimuth) is the azimuth of the surface, and the second argument (Tilt) is the tile of the surface.
If "Day Type" that Kevin is referring to, is related to scheduling and
hourly report, then I think 1 = Monday as Scott has mentioned, here is
the first 2 days of the hourly report of my recent project of 2009.
Month Day Type
1 1 8
1 2 5
Apparently this year Jan 2 is a Friday (=5), thus Monday = 1.
1 = Sunday. Look it up in DOE2 help for versions 3.61b and up.
An HTML attachment was scrubbed...
URL:
Kevin:
?
Hope?I didn't steer you wrong. Let me show you the screen shot of what I found..
?
But I think this may be for something else. I know that in schedules, Monday always comes first, before Sunday.
?
I also cannot think of any output that assigns a number to a day.
?
Sorry to confuse you.
?
John
?
DayOfWeek or #DOW
Returns an integer index of the day of week corresponding to the Yr/Mo/Da entered.? When CalcLeap is set to 1 or a leap year, then the calc assumes 29 days in february, else 28.
?? Return values:
1.??? ????? Sun
2.??? ????? Mon
3.??? ????? Tue
4.??? ????? Wed
5.??? ????? Thu
6.??? ????? Fri
7.??? ????? Sat
Syntax
DayOfWeek(Year, Month, Day, CalcLeap )
or "#CDN(Year, Month, Day, CalcLeap)
where the first argument (Azimuth) is the azimuth of the surface, and the second argument (Tilt) is the tile of the surface.
?
>>
If "Day Type" that Kevin is referring to, is related to scheduling and
hourly report, then I think 1 = Monday as Scott has mentioned, here is
the first 2 days of the hourly report of my recent project of 2009.
Month Day Type
1 1 8
1 2 5
Apparently this year Jan 2 is a Friday (=5), thus Monday = 1.
Bruno Lee