EQuest/DOE2.2 Day Types

5 posts / 0 new

Having a brain drain late in the day.... Under Day Types what is the
first day of the week (i.e 1 = Monday or does 1 = Sunday)

Regards,

Kevin L. Wyman, P.E.

Offline
Joined: 2011-10-01
Reputation: 0

1 = Sunday. Look it up in DOE2 help for versions 3.61b and up.

Offline
Joined: 2011-09-30
Reputation: 1

An HTML attachment was scrubbed...
URL:

Offline
Joined: 2011-09-30
Reputation: 0

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.

?

Offline
Joined: 2011-09-30
Reputation: 1

>>

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

Offline
Joined: 2011-09-30
Reputation: 0