github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/time6_stdlibs.gno (about)

     1  package main
     2  
     3  import (
     4  	"time"
     5  )
     6  
     7  func main() {
     8  	t := &time.Time{}
     9  	t.UnmarshalText([]byte("1985-04-12T23:20:50.52Z"))
    10  
    11  	println(t)
    12  }
    13  
    14  // Output:
    15  // 1985-04-12 23:20:50.52 +0000 UTC