package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 3, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
unixday 
Go package + command line utility for showing todays date as a UNIX day. Or for converting from a UNIX day to a date.
Example use
$ ud
16457
$ ud -date 16457
22.01.2015
General info
Documentation
¶
UNIXDay represents the number of days since 1970
At returns the UNIXDay at the given point in time
Now returns the current UNIXDay
Date returns the current UNIXDay as a formatted date string
String returns the current UNIXDay as a number, in the form of a string
Time returns the current UNIXDay as a time.Time
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.