time.Time.UTC (method)
16 uses
time (current package)
time.go#L1177: func (t Time) UTC() Time {
crypto/x509
x509.go#L1681: Validity: validity{template.NotBefore.UTC(), template.NotAfter.UTC()},
x509.go#L1760: rc.RevocationTime = rc.RevocationTime.UTC()
x509.go#L1768: ThisUpdate: now.UTC(),
x509.go#L1769: NextUpdate: expiry.UTC(),
x509.go#L2339: rc.RevocationTime = rc.RevocationTime.UTC()
x509.go#L2356: RevocationTime: rce.RevocationTime.UTC(),
x509.go#L2413: ThisUpdate: template.ThisUpdate.UTC(),
x509.go#L2414: NextUpdate: template.NextUpdate.UTC(),
log
log.go#L120: t = t.UTC()
net/http
cookie.go#L184: c.Expires = exptime.UTC()
cookie.go#L263: b.Write(c.Expires.UTC().AppendFormat(buf[:0], TimeFormat))
fs.go#L618: w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
h2_bundle.go#L6521: date = rws.conn.srv.now().UTC().Format(TimeFormat)
server.go#L999: t = t.UTC()
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |