M$ SQL DatePart
Syntax DatePart(interval, date [, firstdayofweek] [, firstweekofyear] ) The DatePart function syntax has these arguments: Argument Description 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… Read More »