Day of the week

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
==============================================
 
Because as they were surfing the site, they would
consistantly think it is the day before it actually is,
thereby missing appointments, etc
 
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.
 
and that's a GOOD thing because.....?

or is this for April Fools Day or something?
 
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?
 
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
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top