Skip to content

addmonth adds months to a base date according to a format.

License

Notifications You must be signed in to change notification settings

qt-luigi/addmonth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

adddate

addmonth adds months to a base date according to a format.

Installation

When you have installed the Go, Please execute following go get command:

go get -u github.com/qt-luigi/addmonth

Usage

$ addmonth -h
	-m  2 -b 20200229 -> 20200430
	-m -1 -b 20200331 -> 20200229

Usage:
	adddate [-m months]
	        [-b basedate | -f format | -b basedate -f format]
Arguments are:
	-m months
		adding months
	-b basedate
		base date (default: today (ex. 20200505))
		When don't use with -f option, a format is yyyymmdd
	-f format
		base date format by Go (default: 20060102)
		When don't use with -b option, a value is 20060102

License

MIT

Author

Ryuji Iwata

Note

This tool is mainly using by myself. :-)

About

addmonth adds months to a base date according to a format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages