Day of the week

G

Guest

What is the best way to display the day of the week on a
webpage? What I want to do is display the day of the
week minus 15 days. Therefore if it was actually
wednesday, the webpage would display tuesday, and
thoroughly confuse every visitor. I think this would be
a useful app.

Please let me know if this is possible

Thanks
 
T

Thomas A. Rowe

Requires JavaScript or Server-side scripting.

In what way would this be useful to your site visitors?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
G

Guest

Because as they were surfing the site, they would
consistantly think it is the day before it actually is,
thereby missing appointments, etc
 
C

Chuck Davis

Because as they were surfing the site, they would
consistantly think it is the day before it actually is,
thereby missing appointments, etc
It's about as useful as this thread.
 
A

Andrew Murray

and that's a GOOD thing because.....?

or is this for April Fools Day or something?
 
A

Andrew Murray

doesn't answer the question. How is making visitors think it's tuesday
minus 15 days when it's really Wednesday a GOOD or USEFUL function for your
site?
 
T

Trevor L.

I am sure this is possible, but like other queriers, what's the use?

To do so, use the functions I sent in reply to "How do I display the
date/time on my frontpage web pages?"

But you get into the date returned and manipulate it, i.e. by subtracting
the 15 days before displaying it. I would need to look at the format it is
returned before I could be more definite. If it is in seconds then you would
subtract 60*60*24*15 from the result. If in milliseconds (which is more
likely ) then subtract 60*60*24*15*1000.

Have fun
--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
K

Kevin Spencer

BTW, isn't Tuesday minus 15 days the same thing as Tuesday minus 1 day?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
Top