package main
import (
"fmt"
"time"
)
func main() {
ts := "2022-12-07T00:00:01.532Z"
layout := time.RFC3339
t, err := time.Parse(layout, ts)
if err != nil {
panic(err)
}
fmt.Println(t)
}
To embed this program on your website, copy the following code and paste it into your website's HTML: