Loop or Variable problem???

Can someone please give me some advice with regards to this piece of ASP i have been trying to construct! It is giving me a bit of a head ache and I think it is because my loops or variables are messed up

I want to use the last line of ASP "response.write(DateDiff("d", sDay(var,0), fdw(var,0)) )" to find the number of days between the start of the week and the Start date given in the XML file

What am I doing wrong??

I also guess there should be a more afficient way to produce the same results as I have here

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!