You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/sql-reference/data-types/time.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,12 @@ sidebar_label: Time
6
6
7
7
# Time
8
8
9
-
The `Time` data type is used to store a time-of-day value independent of any calendar date. It is ideal for representing daily schedules, event times, or any situation where only the time component (hours, minutes, seconds, and optionally fractions of a second) is important.
9
+
The `Time` data type is used to store a time value independent of any calendar date. It is ideal for representing daily schedules, event times, or any situation where only the time component (hours, minutes, seconds) is important.
10
10
11
11
Syntax:
12
12
13
13
```sql
14
-
Time([timezone])
14
+
Time()
15
15
```
16
16
17
17
Supported range of values: \[-999:59:59, 999:59:59\].
Copy file name to clipboardExpand all lines: docs/en/sql-reference/data-types/time64.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,20 @@ sidebar_label: Time64
6
6
7
7
# Time64
8
8
9
-
The Time64 data type allows storing time-of-day values with sub-second precision. Unlike DateTime64, it does not include a calendar date, but only represents time within a single day. The precision defines the resolution of stored values in fractional seconds.
9
+
The Time64 data type allows storing time values with sub-second precision. Unlike DateTime64, it does not include a calendar date, but only represents time. The precision defines the resolution of stored values in fractional seconds.
Typically, are used - 3 (milliseconds), 6 (microseconds), 9 (nanoseconds).
13
13
14
14
**Syntax:**
15
15
16
16
```sql
17
-
Time64(precision, [timezone])
17
+
Time64(precision)
18
18
```
19
19
20
20
Internally, Time64 stores data as an Int64 number of ticks since the start of the day (000:00:00.000000000). The tick resolution is determined by the precision parameter. Optionally, a time zone can be specified at the column level, which affects how time values are interpreted and displayed in text format.
21
21
22
-
Unlike DateTime64, Time64 does not store a date component, meaning that it only represents a time within a 24-hour cycle. See details in [Time](../../sql-reference/data-types/time.md).
22
+
Unlike DateTime64, Time64 does not store a date component, meaning that it only represents time. See details in [Time](../../sql-reference/data-types/time.md).
23
23
24
24
Supported range of values: \[000:00:00, 999:59:59.99999999\]
0 commit comments