PDA

View Full Version : ASP How to get a date into a date object so I can work on it.


Lobsang
10-13-2008, 04:00 PM
I've been googling the hell out of this and it's irritating the life out of me because everything talks about working on 'today' and 'now'.

I want to supply the !"£)*(&&ing date (GRRR) how hard is that to understand TUTORIALISTS???

For example. in ASP if I wanted to find out what the date was seven days prior to the 12th of July 2006 how do I do it simply in ASP?

Lobsang
10-13-2008, 04:19 PM
Doesn't matter.

I got it eventually...

tempDate = cDate(mm & " " & dd & " " & yy) - 6