date

package
v1.0.0-beta.27 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToUnixMilli

func ToUnixMilli(format string, dateStr string) (int64, error)

ToUnixMilli converts a string formatted time to Unix milliseconds.

func ToUnixNano

func ToUnixNano(format string, dateStr string) (int64, error)

ToUnixNano converts a string formatted time to Unix nanoseconds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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