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
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
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
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
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
5 matches
Mail list logo