Parsing a date from the week number of a given year from request post

Discussion in 'ASP General' started by J. Muenchbourg, Aug 9, 2003.

  1. I'm trying to get the date from a request-query post that contains a
    year (request("season") and a week number from that year
    (cint(request("gameweek"))+35) I added 35 to the week number because pro
    football usually starts on the 36th week of the year (if it doesn't,
    i'll figure that out later). The DatePart builtin function looks like it
    would be the best tool to use, but it doesnt parse what I want.
    I just want to do a simple display with something that resembles:

    response.write
    cdate(datepart(m,d((cint(request("gameweek"))+35)))request("season"))

    what steps am I missing?
    Thanks
    Muench

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    J. Muenchbourg, Aug 9, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    1
    Views:
    645
    Matthew Speed
    Nov 8, 2003
  2. Otuatail

    Week of year to full Year

    Otuatail, Dec 8, 2003, in forum: HTML
    Replies:
    4
    Views:
    987
    Toby A Inkster
    Dec 8, 2003
  3. Matt
    Replies:
    2
    Views:
    565
    Pete Becker
    Nov 8, 2003
  4. Matt
    Replies:
    3
    Views:
    754
    Richard Heathfield
    Nov 8, 2003
  5. Matt
    Replies:
    11
    Views:
    425
    Aaron Bertrand [MVP]
    Nov 8, 2003
Loading...

Share This Page