Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - Variables
 - func Boot() string
 - func ISO8601Z(t time.Time) string
 - func LocalRFC3339(t time.Time) string
 - func LocalRFC3339AddDuration(t time.Time, duration time.Duration) string
 - func NowLocal() string
 - func NowRFC3339() string
 - func RFC3339(duration time.Duration) string
 - func RFC3339Z(t time.Time) string
 - func UTC(t time.Time) string
 - type Period
 
Constants ¶
      View Source
      
  
const ( FormatBmc = "Mon Jan 2 15:04:05 2006" FormatISO8601 = "2006-01-02T15:04:05" FormatISO8601Z = "2006-01-02T15:04:05+00:00" FormatRFC3339 = time.RFC3339 FormatRFC3339Z = "2006-01-02T15:04:05Z07:00" )
Variables ¶
      View Source
      
  
var ( Day = 24 * time.Hour LocalZone = "+00:00" LocalZoneSeconds = 0 LocalFixedZone = time.FixedZone("", LocalZoneSeconds) )
Functions ¶
func LocalRFC3339 ¶
func LocalRFC3339AddDuration ¶
func NowRFC3339 ¶
func NowRFC3339() string
Types ¶
 Click to show internal directories. 
   Click to hide internal directories.