Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Lenny@ford #1
Setting up the date ahead of time
Hi all,
I have a web site that surveys employees to see if they want to work the
weekend. One of the problems I'm having is that I don't want to go into the
database ahead of time and enter all the upcoming weekend dates. I was
wondering if anyone knew how I could derive the upcoming weekend date based on
the login time? i.e. I log in to survey today Tuesday, May 24, 2005 and based
on that the webpage says I'm surveying for Saturday, May 28, 2005 and it would
be that way every week based on the day they were logging in. If it were
Monday, it would know what the following Saturdays date was.
Thanks in advance,
Lenny
Lenny@ford Guest
-
CFMX7.0.1 Administrator date time issue showing 13hrsbehind server time
I am running a W2k SP4 box that has been upgraded from CFMX6 to CFMX7.0.1. The CFMX7.0.1 server is showing the date on the Server Settings >... -
SQL generates 'access violation or syntax' error whencompiled into string var ahead of time
I have stumbled across something perplexing and frustrating, and I'm hoping somebody can shed some light here. I have a site with some listings.... -
CFMX7 flash forms cfgrid time is two hours ahead in grid
I can't understand a query to the database and output to a cfgrid inside a flash form. My db is mysql and cfmx7 is the server. The info that I am... -
Planning Your Movie Ahead of Time...(Devil's Advocate anyone?)
Here's the setup. Awards show. Format is below: Pre-Opening - (a 30 minute or so "screensaver" show that's linear, playing before everyone... -
Convert date/time to date in SQL Server 2000 statement
Can this be done? tia -
Lionstone #2
Re: Setting up the date ahead of time
It's messy, but it works.
<%
Weekend = Date()
Do While Weekday(Weekend) <> 7
Weekend = DateAdd("d",1,Weekend)
Loop
%>
Now Weekend is the next Saturday.
"Lenny@ford" <webforumsuser@macromedia.com> wrote in message
news:d6ves7$sdb$1@forums.macromedia.com...> Hi all,
> I have a web site that surveys employees to see if they want to work the
> weekend. One of the problems I'm having is that I don't want to go into
> the
> database ahead of time and enter all the upcoming weekend dates. I was
> wondering if anyone knew how I could derive the upcoming weekend date
> based on
> the login time? i.e. I log in to survey today Tuesday, May 24, 2005 and
> based
> on that the webpage says I'm surveying for Saturday, May 28, 2005 and it
> would
> be that way every week based on the day they were logging in. If it were
> Monday, it would know what the following Saturdays date was.
>
> Thanks in advance,
>
> Lenny
>
>
Lionstone Guest
-



Reply With Quote

