unixtime

package
v0.0.0-...-cf3c62f Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

type Time int64

Time - Time in seconds (UNIX Timestamp)

func Now

func Now() Time

Now - Create Unix Time from Now time

func (Time) Add

func (t Time) Add(d time.Duration) Time

Add (UnixTime) - Add Date

func (Time) AddDate

func (t Time) AddDate(years, months, days int) Time

AddDate (UnixTime) - Add Date

func (Time) Format

func (t Time) Format(layout string) string

Format (UnixTime) - UnixTime to String By Format

func (Time) String

func (t Time) String() string

String (UnixTime) - UnixTime to String

func (Time) Time

func (t Time) Time() time.Time

Time (UnixTime) - UnixTime to time.Time

Jump to

Keyboard shortcuts

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