timeserver

package module
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v0.0.21

func Add() *timeServer

func Age added in v0.0.2

func Age(birthDate time.Time) int

Edad es la abreviatura de AgeAt (birthDate, time.Now ()) y tiene el mismo uso y limitaciones.

func AgeAt added in v0.0.2

func AgeAt(birthDate time.Time, now time.Time) int

AgeAt obtiene la edad de una entidad en un momento determinado.

func ParseDate added in v0.0.2

func ParseDate(date_in string) (time.Time, error)

formato fecha "2006-01-02"

func YearsToBirthDay added in v0.0.2

func YearsToBirthDay(yearsTxt string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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