geez/date/cmd/main.go

21 lines
324 B
Go

package main
import (
"fmt"
"strings"
"time"
"git.gday.express/ted/geez/date"
)
func main() {
var t time.Time
t = t.AddDate(2023, 00, 06) //Jan 7 2024
l := strings.Split(t.String(), " ")
s := date.Convert(l[0])
fmt.Printf("xmass %s\n", s)
tt := date.Today()
fmt.Printf("xmass %s\n", tt)
}