timeutil

package
v1.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatSystemDate

func FormatSystemDate(value time.Time) string

FormatSystemDate formats an instant as a system-local calendar date.

func SameSystemDate

func SameSystemDate(left, right time.Time) bool

SameSystemDate compares calendar dates in the operating system timezone.

func SystemDateDistance

func SystemDateDistance(from, to time.Time) int

SystemDateDistance returns the number of local calendar boundaries between two instants, independent of daylight-saving day length.

Types

This section is empty.

Jump to

Keyboard shortcuts

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