date

package
v0.0.0-...-0d658de Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BRToTime

func BRToTime(dateBR string) time.Time

transforma uma string BR para objeto time

func BRToUTC

func BRToUTC(dateBR string) string

transforma uma string BR para string UTC

func BRValid

func BRValid(dateBR string) bool

transforma uma string BR para saber se é válida

func NowUTC

func NowUTC() string

devolve UTC

func NowUTCAddMinutes

func NowUTCAddMinutes(minutes time.Duration) string

func TimeToUTC

func TimeToUTC(date time.Time) string

func TimestampToUTC

func TimestampToUTC(timestamp string) string

string timespamp unix para UTC

func UTCToTime

func UTCToTime(dateUTC string) time.Time

comverte string UUC para time.Time

func UTCValid

func UTCValid(dateUTC string) bool

transforma uma string UTC para saber se é válida

Types

This section is empty.

Jump to

Keyboard shortcuts

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