comcord/commands/time.go

13 lines
158 B
Go
Raw Normal View History

2023-07-26 22:51:25 +00:00
package commands
import (
"fmt"
"time"
)
func TimeCommand() {
2023-07-26 22:51:25 +00:00
now := time.Now().UTC()
fmt.Printf("%s\n\r", now.Format("[Mon 02-Jan-06 15:04:05]"))
}