interval - A string expression from the following table, specifying the date interval.
interval (string value)
แแฎแกแแ
yyyy
Year
q
Quarter
m
Month
y
Day of year
w
Weekday
ww
Week of year
d
Day
h
Hour
n
Minute
s
Second
date - The date from which the result is calculated.
Date literals allow to specify unambiguous date variables that are independent from the current language. Literals are enclosed between hash signs #. Possible formats are:
#yyyy-mm-dd#
#mm/dd/yyyy#
firstdayofweek: An optional parameter that specifies the starting day of a week.
firstdayofweek value
แแฎแกแแ
0
Use system default value
1
แแแแ แ (แกแแฌแงแแกแ)
2
แแ แจแแแแแ
3
แกแแแจแแแแแ
4
แแแฎแจแแแแแ
5
แฎแฃแแจแแแแแ
6
แแแ แแกแแแแ
7
แจแแแแแ
firstweekofyear: An optional parameter that specifies the starting week of a year.