File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
docs/sql-manual/sql-functions/scalar-functions/date-time-functions
version-2.1/sql-manual/sql-functions/scalar-functions/date-time-functions
version-3.0/sql-manual/sql-functions/scalar-functions/date-time-functions Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ UNIX_TIMESTAMP([DATETIME date[, STRING fmt]])
27
27
## Return value
28
28
Returns two types based on the input:
29
29
30
- 1 . If the input datetime scale is not 0 or a format parameter is provided,
31
- 2 . returns a timestamp of type Decimal with a maximum precision of six decimal places.
32
- If the input datetime scale is 0 and no format parameter is provided,
30
+ - If the input datetime scale is not 0 or a format parameter is provided,
31
+ returns a timestamp of type Decimal with a maximum precision of six decimal places.
32
+ - If the input datetime scale is 0 and no format parameter is provided,
33
33
returns a timestamp of type INT.
34
34
35
- For times before '1970-01-01 00:00:01.000000 UTC' or after '3001-01-19 03:14:07.999999 UTC', the function returns 0.
35
+ - For times before '1970-01-01 00:00:01.000000 UTC' or after '3001-01-19 03:14:07.999999 UTC', the function returns 0.
36
36
37
37
Returns NULL if any argument is NULL.
38
38
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ UNIX_TIMESTAMP([DATETIME date[, STRING fmt]])
27
27
## Return value
28
28
Returns two types based on the input:
29
29
30
- 1 . If the input datetime scale is not 0 or a format parameter is provided,
31
- 2 . returns a timestamp of type Decimal with a maximum precision of six decimal places.
32
- If the input datetime scale is 0 and no format parameter is provided,
30
+ - If the input datetime scale is not 0 or a format parameter is provided,
31
+ returns a timestamp of type Decimal with a maximum precision of six decimal places.
32
+ - If the input datetime scale is 0 and no format parameter is provided,
33
33
returns a timestamp of type INT.
34
34
35
- For times before '1970-01-01 00:00:01.000000 UTC' or after '3001-01-19 03:14:07.999999 UTC', the function returns 0.
35
+ - For times before '1970-01-01 00:00:01.000000 UTC' or after '3001-01-19 03:14:07.999999 UTC', the function returns 0.
36
36
37
37
Returns NULL if any argument is NULL.
38
38
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ UNIX_TIMESTAMP([DATETIME date[, STRING fmt]])
27
27
## Return value
28
28
Returns two types based on the input:
29
29
30
- 1 . If the input datetime scale is not 0 or a format parameter is provided,
31
- 2 . returns a timestamp of type Decimal with a maximum precision of six decimal places.
32
- If the input datetime scale is 0 and no format parameter is provided,
30
+ - If the input datetime scale is not 0 or a format parameter is provided,
31
+ returns a timestamp of type Decimal with a maximum precision of six decimal places.
32
+ - If the input datetime scale is 0 and no format parameter is provided,
33
33
returns a timestamp of type INT.
34
34
35
- For times before '1970-01-01 00:00:01.000000 UTC' or after '3001-01-19 03:14:07.999999 UTC', the function returns 0.
35
+ - For times before '1970-01-01 00:00:01.000000 UTC' or after '3001-01-19 03:14:07.999999 UTC', the function returns 0.
36
36
37
37
Returns NULL if any argument is NULL.
38
38
You can’t perform that action at this time.
0 commit comments