# Date Check

> Verify current date from system. Use when outputting dates, scheduling, or time-sensitive operations. Prevents knowledge cutoff errors.

- Skill: `majiayu000/date-check` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/date-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/date-check/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/date-check

---


# Date Check SKILL

## Purpose

Prevent date errors caused by knowledge cutoff.
Get accurate current date/time from the system.

## When to Use

### Automatic Triggers
- Before outputting dates or day of week
- Before using relative dates ("today", "tomorrow", "this week")
- Before mentioning schedules or deadlines
- Before outputting year-specific information

### Manual Check
- When user asks about dates
- When handling time-sensitive information

## Process

### Step 1: Get Current Date

```bash
date "+%Y-%m-%d %H:%M:%S %A"
```

Note: Output varies by system. Always trust the actual execution result.

### Step 2: Verify Against Environment

Cross-check with `Today's date` in environment info.

### Step 3: Use Correct Date

Use the verified date in your response.

## Important Reminders

1. **Never trust knowledge cutoff** - Always verify system date
2. **Pay special attention to year** - May default to wrong year
3. **Calculate relative dates** - Compute "last week", "next month" from current date

## Quick Reference

| Info | Command |
|------|---------|
| Today | `date "+%Y-%m-%d"` |
| Day of week | `date "+%A"` |
| Week number | `date "+%V"` |
| Day of year | `date "+%j"` |

