Golang time

Golang Time Format

Instead of having a convectional format to print the date. Go uses a reference date which seems meaningless buf if you see it this way it makes sense: it's 1 2 3 4 5 6in the Posix dateformat:

Mon Jan 2 15:04:05 -0700 MST 2006
0   1   2  3  4  5              6

Convert String to Date in yyyy-mm-dd format

Calculate Date & Change Date Formatting

Get Current Date

Change Date Formatting

Calculate Date

Calculate Hours, Minutes

Calculate Days, Months, Years

Last updated