|
DatePart ASP FunctionDatePart lets you examine a date variable and see any particular part of it. The format is: DatePart(type, date) The types can be:
yyyy - Year So if you had CurrDate equal to 4/1/2007 and did: CurrMonth = DatePart("m", CurrDate) CurrMonth would return 4.
All content copyright © 2008 Minerva WebWorks LLC. All rights reserved.
|
|