Hi all,

I need a script that tells the user what the date is for monday and
what the date is for friday for the current week based on the current
day.

Any help?

Re: Date Question by Aaron

Aaron
Fri Aug 26 13:04:49 CDT 2005

Given a "standard" datefirst setting, e.g. Sunday = 1, Monday = 2, you can
try this:

<%
dt = date()

dw = datepart("w", dt)
response.write "Monday = " & (dt + (2-dw))
response.write "<br>"
response.write "Friday = " & (dt + (6-dw))
%>

Might make more sense to have a calendar table though.
http://www.aspfaq.com/2519




"AGB" <andyglbl@gmail.com> wrote in message
news:1125072489.388434.254600@z14g2000cwz.googlegroups.com...
> Hi all,
>
> I need a script that tells the user what the date is for monday and
> what the date is for friday for the current week based on the current
> day.
>
> Any help?
>



Re: Date Question by AGB

AGB
Fri Aug 26 13:14:41 CDT 2005

That works great, thanks