0 Replies - 8411 Views - Last Post: 19 December 2001 - 12:22 PM Rate Topic: -----

#1 klewlis   User is offline

  • cur tu me vexas?

Reputation: 8
  • View blog
  • Posts: 1,723
  • Joined: 09-November 01

ASP date functions

Posted 19 December 2001 - 12:22 PM

ok, I hope I can explain what I'm looking for here. :)

I have a db table full of events and their dates, etc. I'm displaying them a week at a time. So, for example, when I come to the page this week's events (from sunday to saturday) are displayed. I use a week integer which defaults to

week = cInt(DatePart("ww", Date))

and then if they go to "next week" or "previous week" the variable is passed through a querystring. All that is working fine. The tough part is what I want to do next-- using my week variable (for example, today it's 51), I want to find out the starting and ending dates of this week (so the result would be dec 16 and dec 22).

how should I do this?? ideas?

Is This A Good Question/Topic? 0
  • +

Page 1 of 1