Syntax
DatePart(interval, date[,firstdayofweek[, firstweekofyear]])
The DatePart function syntax has these named arguments:
interval Required. String expression that is the interval of time you want to return.
date Required. Variant (Date) value that you want to evaluate.
firstdayofweek Optional. A constant that specifies the first day of the week.
If not specified, Sunday is assumed.
firstweekofyear Optional. A constant that specifies the first week of the year. If not specified,
the first week is assumed to be the week in which January 1 occurs.
|