gsc123
Programmer
- Jan 24, 2008
- 197
Hi
I'm trying to manipulate some dates to give my time left
pStartDate = rsTemp("startDate")
pEndDate = rsTemp("endDate")
both dates from rsTemp are from the db and are date/time data types - on the asp end I what to do soething like this
DateDiff("d",Now(),pEndDate)
I want to return time left? DateDiff just returns a Variant (Long) but I'm not sure how to use it
I'm trying to manipulate some dates to give my time left
pStartDate = rsTemp("startDate")
pEndDate = rsTemp("endDate")
both dates from rsTemp are from the db and are date/time data types - on the asp end I what to do soething like this
DateDiff("d",Now(),pEndDate)
I want to return time left? DateDiff just returns a Variant (Long) but I'm not sure how to use it