You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
170 B
11 lines
170 B
package misc
|
|
|
|
import (
|
|
"fmt"
|
|
"strconv"
|
|
)
|
|
|
|
func TimestampMinus(curr string, m int) string {
|
|
curr_time, _ := strconv.Atoi(curr)
|
|
return fmt.Sprint(curr_time - int(m))
|
|
}
|
|
|