https://github.com/jeppech/zeit
A package for working with time
https://github.com/jeppech/zeit
Last synced: 4 days ago
JSON representation
A package for working with time
- Host: GitHub
- URL: https://github.com/jeppech/zeit
- Owner: jeppech
- Created: 2022-04-28T16:07:12.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T13:31:34.000Z (over 3 years ago)
- Last Synced: 2025-11-12T21:23:07.604Z (7 months ago)
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zeit
A simple package for working with time, not timestamps
```golang
package main
import (
"fmt"
"github.com/jeppech/zeit"
)
func main() {
now := time.Now().UTC()
fmt.Println(now) // 2022-05-06 07:19:35.072174 +0000 UTC
z_now := zeit.Now() // 07:19:35
fmt.Println(z_now)
}
```