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
Float value (with 9 decimal places) of the number of seconds since the epoch (e.g. 82919.000000000).
13
+
TIMESTAMP_TZ
14
+
15
+
Float value (with 9 decimal places) of the number of seconds since the epoch, followed by a space and the time zone offset in minutes (e.g. 1616173619000000000 960)
16
+
17
+
*/
18
+
19
+
funcparseTime(inputstring) (time.Time, error) {
20
+
// Step 1: Parse the string into a float64
21
+
floatValue, err:=strconv.ParseFloat(input, 64)
22
+
iferr!=nil {
23
+
return time.Time{}, fmt.Errorf("failed to parse float value: %w", err)
24
+
}
25
+
26
+
// Step 2: Separate the integer and fractional parts
0 commit comments