Timezone and Date Bug Fixer

Debug date/time and timezone-related bugs in your code

6/11/2026
Prompt
Help me fix date/time and timezone bugs in my application.

**Programming Language:** {{LANGUAGE}}
**Date library (if any):** {{DATE_LIBRARY}}

**Code with date handling:**
```{{LANGUAGE}}
{{CODE}}
```

**Input date/time:** {{INPUT}}
**Expected output:** {{EXPECTED}}
**Actual output:** {{ACTUAL}}

**User timezone:** {{USER_TZ}}
**Server timezone:** {{SERVER_TZ}}
**Database timezone:** {{DB_TZ}}

Please provide:
1. **Timezone Analysis**: Identify timezone conversion issues
2. **Date Parsing Issues**: Check date string parsing
3. **DST Problems**: Handle daylight saving time edge cases
4. **Storage Strategy**: Recommend proper date storage format
5. **Fixed Code**: Corrected date handling code
6. **Conversion Flow**: Show proper timezone conversion flow
7. **Testing Dates**: Edge case dates to test
8. **Best Practices**: Date handling best practices

Or press ⌘C to copy

Variables (9)

Replace these placeholders with your own content before using the prompt.

[{LANGUAGE][{DATE_LIBRARY][{CODE][{INPUT][{EXPECTED][{ACTUAL][{USER_TZ][{SERVER_TZ][{DB_TZ]

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...