mingcheng/Get Current Timestamp
Get current timestamp in various formats and timezones
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| timezone | Timezone (UTC, LOCAL, Asia/Shanghai or offset like +05:30, -08:00) | no | UTC |
| format | Custom timestamp format (strftime format) | no | %Y-%m-%d %H:%M:%S |
| utc-format | UTC timestamp format | no | %Y-%m-%dT%H:%M:%SZ |
Outputs
| name | description |
|---|---|
| timestamp | Timestamp in specified timezone like Asia/Shanghai or offset like +05:30, -08:00 |
| utc_timestamp | UTC timestamp |
| unix_timestamp | Unix timestamp (seconds) |
| unix_timestamp_ms | Unix timestamp (milliseconds) |
| iso_timestamp | ISO 8601 formatted timestamp |
| timezone | Timezone used |