time.Time.UTC (method)

23 uses

	time (current package)
		time.go#L1368: func (t Time) UTC() Time {

	crypto/x509
		x509.go#L1788: 		Validity:           validity{template.NotBefore.UTC(), template.NotAfter.UTC()},
		x509.go#L1869: 		rc.RevocationTime = rc.RevocationTime.UTC()
		x509.go#L1877: 		ThisUpdate:          now.UTC(),
		x509.go#L1878: 		NextUpdate:          expiry.UTC(),
		x509.go#L2449: 			rc.RevocationTime = rc.RevocationTime.UTC()
		x509.go#L2466: 				RevocationTime: rce.RevocationTime.UTC(),
		x509.go#L2523: 		ThisUpdate: template.ThisUpdate.UTC(),
		x509.go#L2524: 		NextUpdate: template.NextUpdate.UTC(),

	github.com/jackc/pgx/v5/pgtype
		timestamp.go#L282: 		).UTC()
		timestamptz.go#L207: 		t := ts.Time.UTC().Truncate(time.Microsecond)

	go.pact.im/x/httprange
		validator.go#L48: 		lastModified := m.LastModified.UTC().Format(http.TimeFormat)

	golang.org/x/mod/module
		pseudo.go#L58: 	segment := fmt.Sprintf("%s-%s", t.UTC().Format(PseudoVersionTimestampFormat), rev)

	golang.org/x/net/http2
		server.go#L2593: 			date = time.Now().UTC().Format(http.TimeFormat)

	google.golang.org/protobuf/encoding/protojson
		well_known_types.go#L784: 	t := time.Unix(secs, nanos).UTC()

	google.golang.org/protobuf/types/known/timestamppb
		timestamp.pb.go#L201: 	return time.Unix(int64(x.GetSeconds()), int64(x.GetNanos())).UTC()

	log
		log.go#L120: 			t = t.UTC()

	net/http
		cookie.go#L208: 			c.Expires = exptime.UTC()
		cookie.go#L297: 		b.Write(c.Expires.UTC().AppendFormat(buf[:0], TimeFormat))
		fs.go#L623: 		w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
		h2_bundle.go#L6684: 			date = time.Now().UTC().Format(TimeFormat)
		server.go#L1465: 		setHeader.date = time.Now().UTC().AppendFormat(cw.res.dateBuf[:0], TimeFormat)