system · Command reference
qzx getCurrentDate
What it does
Gets the current date in YYYY-MM-DD format
Canonical command: getCurrentDate
Accepted aliases: None
Case-sensitive: no
Included in the published package
Available in PyPI 0.2.2.0.2. This page documents the 0.2.2.0.2 alpha development checkout.
Safety and effects
Read-only under the current classification
No documented dry-run parameter
No native program invocation in the current classification
No documented network use
No inherent elevation requirement
This safety classification was reviewed against implementation digest sha256:6f93bc1ee9551d8f0cc8e0a9761ce9cfa4ff92d8d173fb07f7801d6db8267412 on 2026-07-24.
Exact syntax
qzx getCurrentDate --jsonParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| This command declares no parameters. | ||||
Input examples
qzx getCurrentDateGet the current date in the format YYYY-MM-DD
For the complete structured payload, add --json: qzx getCurrentDate --json
Observed output example
Captured with QZX 0.2.2.0.2 on Windows 11; exit code 0. Host-dependent values and duration can vary.
Example command: qzx getCurrentDate --json
{
"success": true,
"date": "2026-07-25",
"message": "Current date is Saturday, July 25, 2026 (ISO format: 2026-07-25)",
"details": {
"year": 2026,
"month": 7,
"month_name": "July",
"day": 25,
"day_of_week": "Saturday",
"day_of_year": 206,
"week_of_year": 30
},
"meta": {
"command": "getCurrentDate",
"duration_ms": 0.985,
"schema_version": 1
}
}View the JSON result contract
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"required": [
"success",
"message"
],
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"date": [],
"details": {
"type": "object",
"properties": {
"year": [],
"month": [],
"month_name": [],
"day": [],
"day_of_week": [],
"day_of_year": [],
"week_of_year": []
},
"additionalProperties": true
},
"error": {
"type": "string"
}
},
"additionalProperties": true
}Errors and limits
The public contract requires success=false and a descriptive message on failure. This catalog does not yet declare a command-specific error taxonomy; inspect the result and do not invent error codes.
QZX is alpha software. Optional dependencies, permissions, and host capabilities can change the result.
Evidence workflow: captured and digest-validated.
Evidence and provenance
- Implementation
- src/qzx/commands/system/get_current_date.py
- Tests
- No command-specific test file with the same module name was found; this does not prove that all coverage is absent.
- Documentation channel
- Development documentation 0.2.2.0.2 · main · sha256:319b16857a87636ebc3b89734cc040a737bb56194464fca33ce73bdae2043096
- Availability
- 0.2.2.0.2 or earlier
Keep exploring
Related commands
These commands also belong to the system category. Compare them to choose the operation that best fits your task.