PureBytes Links
Trading Reference Links
|
DayOfWeek(Date)<DayOfWeek(Date[1])
----- Original Message -----
From: "Adleone" <adleone@xxxxxxxxxxxxx>
To: "Omega-List" <omega-list@xxxxxxxxxx>
Sent: April 25, 2006 11:13 AM
Subject: First Trading day of the week
Does any one have any code segment for determining the first trading day
of the week? I know that
"DayOfWeek(Date) = 1" determines a Monday but what if the first trading
day of the week is on a Tuesday? I tried "DayOfWeek(Date[1]) = 5" but
there are days when Fridays are closed....
Any help would be appreciated.
|