This is a discussion on "Operation for Date" within the Classic ASP section. This forum, and the thread "Operation for Date are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Operation for Date
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Operation for Date
Hi , i have some pro finding the difference between dates to know the daysCan help me , thanks???
i get these information from a form strdate=(request.form("startdate")) enddate=(request.form("startdate")) enddate-strdate= ? ? ? ?? ? Thanks |
|
|
|
|||
|
DateDiff(d,strdate,enddate)
I use this page http://www.w3schools.com/vbscript/func_datediff.asp a lot. Also, did you notice that you are pulling the field "startdate" for both dates? jakyra |
|
|||
|
ic....but i thought request.form("startdate") return a string instead of date ?? so how do i convert a string to a date ??
|
![]() |
| Tags |
| operation, date |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple-step operation generated errors | Andrew1986 | Databases | 2 | Mar 14th, 2008 07:29 |
| I need to know about Gradient fill operation | balaakrs | Flash & Multimedia Forum | 1 | Oct 1st, 2007 21:38 |
| Changing date format in date picker | AdRock | JavaScript Forum | 1 | Aug 1st, 2006 17:16 |
| Date in Asp | Gup | Classic ASP | 1 | Jun 5th, 2006 09:05 |
| asp date | Monie | Classic ASP | 1 | Sep 21st, 2004 04:38 |