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

Week Commencing

Status
Not open for further replies.

Shin25

Technical User
Jun 14, 2007
102
US
Hi All

Iam using CRXI Rel 2, I have a dt field which is populated according to when activity happened. But what I want to know is how do I get the weekcommencing date from that dt field. For eg. dt from the field is 10/01/08, the week commencing date would be 06/01/08.

I hope I make sense...

Please ask if I have missed anything.

Many Thanks
 
You should always identify the formatting of your dates to clarify what are months vs. days. Anyway, use:

{table.date}-dayofweek({table.date})+1

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top