Get current date and time (Claude should use date command directly)
Returns current date and time in standard or custom format using date command.
/plugin marketplace add cadrianmae/claude-marketplace/plugin install datetime@cadrianmae-claude-marketplaceformatGet the current date and time in a standardized format.
If you are Claude: DO NOT invoke this slash command. Use the date command directly via Bash tool:
date '+%Y-%m-%d %H:%M:%S (%A)'
See the Implementation section below for the exact command pattern.
/datetime:now
/datetime:now [format]
No arguments: Returns current date/time in standard format
YYYY-MM-DD HH:MM:SS (DayName)2024-11-13 16:45:30 (Wednesday)With format argument: Returns current date/time in custom format
date command format strings/datetime:now "%B %d, %Y" → November 13, 2024Standard format:
date '+%Y-%m-%d %H:%M:%S (%A)'
Custom format:
date '+[format-string]'
%Y-%m-%d - Date only (2024-11-13)%H:%M:%S - Time only (16:45:30)%A - Full day name (Wednesday)%B %d, %Y - Formatted date (November 13, 2024)%V - Week number (45)+%s - Unix timestamp (1699896330)# Standard output
/datetime:now
→ 2024-11-13 16:45:30 (Wednesday)
# Custom format - date only
/datetime:now "%Y-%m-%d"
→ 2024-11-13
# Week number
/datetime:now "%V"
→ 45
# Unix timestamp
/datetime:now "+%s"
→ 1699896330
/datetime:parse - Parse natural language date expressions/datetime:calc - Calculate date differences