Home / Commands / shanraisshan/claude-code-best-practice

time-command

Display the current time in Pakistan Standard Time (PKT, UTC+5)

commandLicense: MIT Source: shanraisshan/claude-code-best-practice

Install

Copy this folder into your Claude Code project (needs Node.js):

curl -fsSL --create-dirs -o .claude/commands/time-command.md https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/HEAD/.claude/commands/time-command.md

Or install it for every project:

curl -fsSL --create-dirs -o ~/.claude/commands/time-command.md https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/HEAD/.claude/commands/time-command.md

File content

Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗

---
description: Display the current time in Pakistan Standard Time (PKT, UTC+5)
---

# Time Command

Display the current date and time in Pakistan Standard Time (PKT, UTC+5).

## Instructions

1. Run the following bash command to get the current time in PKT:
   ```
   TZ='Asia/Karachi' date '+%Y-%m-%d %H:%M:%S %Z'
   ```

2. Display the result to the user in this format:
   ```
   Current Time in Pakistan (PKT): YYYY-MM-DD HH:MM:SS PKT
   ```

## Requirements

- Always use the `Asia/Karachi` timezone (UTC+5)
- Use 24-hour format
- Include the date alongside the time
- Keep the output concise