time.Time.UTC (method)
20 uses
time (current package)
time.go#L1364: func (t Time) UTC() Time {
crypto/x509
x509.go#L1771: Validity: validity{template.NotBefore.UTC(), template.NotAfter.UTC()},
x509.go#L1852: rc.RevocationTime = rc.RevocationTime.UTC()
x509.go#L1860: ThisUpdate: now.UTC(),
x509.go#L1861: NextUpdate: expiry.UTC(),
x509.go#L2432: rc.RevocationTime = rc.RevocationTime.UTC()
x509.go#L2449: RevocationTime: rce.RevocationTime.UTC(),
x509.go#L2506: ThisUpdate: template.ThisUpdate.UTC(),
x509.go#L2507: NextUpdate: template.NextUpdate.UTC(),
go.uber.org/zap
logger.go#L384: fmt.Fprintf(log.errorOutput, "%v Logger.check error: failed to get caller\n", ent.Time.UTC())
golang.org/x/net/http2
server.go#L2687: 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#L200: 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#L6658: date = rws.conn.srv.now().UTC().Format(TimeFormat)
server.go#L1501: setHeader.date = time.Now().UTC().AppendFormat(cw.res.dateBuf[:0], TimeFormat)