Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with ADO SQL select
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00601024
Message ID:
00601484
Views:
21
>>
>>You can use the Between key word.
>>Example: SELECT * FROM myTable WHERE dt Between vStartdate And vEnddate
>
>Tim,
> Thanks for giving me more credit then is due < g >. Maybe I should have phrased that differently. My VBscript skills are almost non-existant. How do I return todays date, and the date 30 days ago?
>jfh

Take a look at the Date function.

Todays date: Date()
Date 30 days ago: Date() - 30
Tim Westmoreland
Software Engineer
Skyline Technologies, Inc.

"Upper classes are a nation's past; the middle class is its future." - Ayn Rand, Russian-born author (1905-1982).
Previous
Reply
Map
View

Click here to load this message in the networking platform