FAQ/How-to-use-datediff.md
... ...
@@ -1,7 +1,25 @@
1 1
2
-
3 2
##Syntax
4 3
5 4
datediff( datepart , startdate , enddate )
6 5
7
-##Argument
... ...
\ No newline at end of file
0
+##Argument
1
+
2
+#datepart
3
+Is the part of startdate and enddate that specifies the type of boundary crossed. The following table lists all valid datepart arguments. User-defined variable equivalents are not valid.
4
+
5
+|**datepart**|**Abbreviations**|
6
+|:------------:|:-------------:|
7
+
8
+|year|yy, yyyy|
9
+|quarter|qq, q|
10
+|month|mm, m|
11
+|dayofyear|dy, y|
12
+|day|dd, d|
13
+|week|wk, ww|
14
+|hour|hh|
15
+|minute|mi, n|
16
+|second|ss, s|
17
+|millisecond|ms|
18
+|microsecond|mcs|
19
+|nanosecond|ns|
... ...
\ No newline at end of file