You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to multisoft...@googlegroups.com
What function would give the previous week from a date ?
today := date() // 10/24/2014
How to find the previous week from today .
1) need date of beginning of week
2) need date of end of week
Thanks for the support
Reginald
Paul
unread,
Oct 25, 2014, 6:19:28 AM10/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Use standard DOW() FlagShip function. Here a short example:
dCurr := date() // current date dEoW := dCurr -1 // start date = yesterday while dow(dEoW) != 7 // find previous end-of-week = Saturday dEoW -- enddo dMonday := dEoW -5 // Saturday back to Monday ? "Today is",dCurr, "Saturday of last week was the",dEoW, "and Monday of last week was the",dMonday wait