11 lines
157 B
Go
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())
|
|
}
|