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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Day of Week question

Status
Not open for further replies.

nanado

Technical User
Nov 26, 2001
5
US
I have used dayofweek in a formula but it returns a 1 for sunday, through 7 for saturday.

How can I write a formula to return a 1 for monday?
 
You need another argument for your dayofweek() function. Dayofweek({datefield}, crMonday} will return 1, rather than 2, for Monday. Dayofweek({datefield}, crThursday} will return 1, rather than 5, for Thursday, etc. Software Support for Macola, Crystal Reports and Goldmine
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top