- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExampleLocation (0.28 sec)
-
platforms/documentation/docs/src/docs/css/base.css
} .note p:first-child, .tip p:first-child { margin-top: 0; } .note > :last-child, .tip > :last-child, .examplelocation > :last-child { margin-bottom: 0; } .note, .tip, .exampleLocation { border-left: 1px solid #ddddd8; color: rgba(0,0,0,0.6); margin: 0 0 1.5em 1.25em; padding-left: 1.125em; padding-right: 1.25em; } .note p:first-child:before {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 05:15:02 UTC 2024 - 30.5K bytes - Viewed (0) -
src/time/example_test.go
if err != nil { panic(err) } timeInUTC := time.Date(2018, 8, 30, 12, 0, 0, 0, time.UTC) fmt.Println(timeInUTC.In(location)) // Output: 2018-08-30 05:00:00 -0700 PDT } func ExampleLocation() { // China doesn't have daylight saving. It uses a fixed 8 hour offset from UTC. secondsEastOfUTC := int((8 * time.Hour).Seconds()) beijing := time.FixedZone("Beijing Time", secondsEastOfUTC)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0)