https://github.com/josestg/timenow
A cross-platform CLI tool to get the current time in different timezones and formats.
https://github.com/josestg/timenow
Last synced: about 1 month ago
JSON representation
A cross-platform CLI tool to get the current time in different timezones and formats.
- Host: GitHub
- URL: https://github.com/josestg/timenow
- Owner: josestg
- License: bsd-3-clause
- Created: 2024-04-22T12:27:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-22T12:29:28.000Z (about 1 year ago)
- Last Synced: 2025-01-31T06:47:13.639Z (3 months ago)
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# timenow
A cross-platform CLI tool to get the current time in different timezones and formats.
## Install
```bash
go install github.com/josestg/timenow@latest
```## Usage
```bash
# by default, it will show the current time in unix epoch format (seconds).
timenow# to show the current time in a unix epoch format (milliseconds).
timenow -format=epochs-millis# to show the current time in a RFC3339 format and Asia/Jakarta timezone.
timenow -format=rfc3339 -timezone=Asia/Jakarta
```