Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ExampleParseInLocation (1.3 sec)

  1. src/time/example_test.go

    	// 2013-02-03 00:00:00 +0000 UTC
    	// 2006-01-02 15:04:05 +0000 UTC
    	// 2006-01-02 15:04:05 +0700 +0700
    	// error parsing time "2006-01-02T15:04:05Z07:00": extra text: "07:00"
    }
    
    func ExampleParseInLocation() {
    	loc, _ := time.LoadLocation("Europe/Berlin")
    
    	// This will look for the name CEST in the Europe/Berlin time zone.
    	const longForm = "Jan 2, 2006 at 3:04pm (MST)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top