package main import ( "fmt" "time" ) func main() { timeNow := time.Now() fmt.Println("Current time: ", timeNow.String()) }
To embed this project on your website, copy the following code and paste it into your website's HTML: