February 2018
Intermediate to advanced
340 pages
9h 43m
English
The Time type of the time package provides two essential methods to operate on date and time.
The first method, Add, accepts the time.Duration and AddDate. With the Add method, you can shift the time toward the future with the positive sign and move the time backward just by adding the negative sign.
The second method, AddDate, consumes the int64 arguments as the year, month, and day, and adds the bigger time amounts.
Read now
Unlock full access