Help us shape the future of Go! Take the 2026 Go Developer Survey

dbtime

package
v0.1.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseActivity

func ParseActivity(value string) (time.Time, bool)

ParseActivity preserves the historical database-text time contract used by maintenance. Unknown or zero-date values remain an explicit unknown state.

func ParseDatabaseUTC

func ParseDatabaseUTC(value string) (time.Time, error)

ParseDatabaseUTC decodes the server clock projected by the token reader. MySQL UTC_TIMESTAMP and SQLite DATETIME('now') are both UTC without an offset.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL