A little more updating.
This commit is contained in:
@@ -2,6 +2,7 @@ package util
|
||||
|
||||
import "time"
|
||||
|
||||
// SubtractedEpoch will take the current time in epoch and subtract (days) worth of seconds from the current epoch time.
|
||||
func SubtractedEpoch(days int) int64 {
|
||||
now := time.Now()
|
||||
unix := now.Unix()
|
||||
|
Reference in New Issue
Block a user