Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Separating Weekdays and Weekends

Status
Not open for further replies.

qcman

Technical User
Jul 20, 2004
30
0
0
US
I want to count how many occurences happened from monday to friday and how many occurences on the weekend.
 
Sorry, didnt realize I posted thread earlier.
 
if dayofweek({table.date}) in 2 to 5 then
"Weekday" else
if dayofweek({table.date}) in [1,7] then
"Weekend"

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top