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

J

J. Muenchbourg

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
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top