Re: Get Next Saturday command? (HOW TO?)

2000-05-04 Thread Dick Applebaum
Look at the DayOfWeek, DateAdd, Datediff... functions At 10:36 AM -0400 5/4/2000, Kevin Hemenway wrote: Ok. I think this is rather simple, and I'm curious if there is any built in function or listing of code that will do this for me. I'm not looking for a plugin - I'd rather see the code

Re: Get Next Saturday command? (HOW TO?)

2000-05-04 Thread Kevin Hemenway
What I need to do is find "the next Saturday and Sunday". Ultimately, this will return the date for the Saturday and the date for the Sunday. I can search around through the database and display things about "this weekend". Look at the DayOfWeek, DateAdd, Datediff... functions Welp, I

RE: Get Next Saturday command? (HOW TO?)

2000-05-04 Thread Chris Evans
EMAIL PROTECTED] http://www.fuseware.com -Original Message- From: Kevin Hemenway [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 04, 2000 11:00 AM To: [EMAIL PROTECTED] Subject: Re: Get Next Saturday command? (HOW TO?) What I need to do is find "the next Saturday and Sunday". Ultim

Re: Get Next Saturday command? (HOW TO?)

2000-05-04 Thread Seth Petry-Johnson
I really need an example of code here. I learn best that way. This is untested, so it may need modification before it works. Use at your own risk g. Description: 1) Returns the dates of the next Saturday and Sunday by finding the date of the next Saturday and then adding one day to it. 2) If

Re: Get Next Saturday command? (HOW TO?)

2000-05-04 Thread Kevin Miller
How about this pseudo-code: Now() + (7 - DayOfWeek) Kevin Kevin Miller IT Systems Resource Manager Medtronic Vascular [EMAIL PROTECTED] (707) 566-1200 [EMAIL PROTECTED] 05/04/00 07:36AM Ok. I think this is rather simple, and I'm curious if there is any built in function or listing of code