utils/dates.go
2023-10-02 23:42:16 +02:00

11 lines
157 B
Go

package utils
import (
"time"
)
// GetCurrentYear returns the current year as YYYY int64
func GetCurrentYear() int64 {
return int64(time.Now().Year())
}