dotnet-timezone
.NET timezone handling guidance for C# applications. Use when working with TimeZoneInfo, DateTimeOffset, NodaTime, UTC conversion, daylight saving time, scheduling across timezones, cross-platform Windows/IANA timezone IDs, or when a .NET user needs the timezone for a city, address, region, or country and copy-paste-ready C# code.
npx skills add github/awesome-copilot --skill dotnet-timezone --agent copilot
Same command for any agent — swap --agent for claude-code, codex, cursor.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# .NET Timezone Resolve timezone questions for .NET and C# code with production-safe guidance and copy-paste-ready snippets. ## Start With The Right Path Identify the request type first: - Address or location lookup - Timezone ID lookup - UTC/local conversion - Cross-platform timezone compatibility - Scheduling or DST handling - API or persistence design If the library is unclear, default to `TimeZoneConverter` for cross-platform work. If the scenario involves recurring schedules or strict DST rules, prefer `NodaTime`. ## Resolve Addresses And Locations If the user provides an address, city, region, country, or document containing place names: 1. Extract each location from the input. 2. Read `references/timezone-index.md` for common Windows and IANA mappings. 3. If the exact location is not listed, infer the correct IANA zone from geography, then map it to the Windows ID. 4. Return both IDs and a ready-to-use C# example. For each resolved location, provide: ```text Location: <resolved place> Windows ID: <windows id> IANA ID: <iana id> UTC offset: <standard offset and DST offset when relevant> DST: <yes/no> ``` Then include a cross-platform snippet like: ```csharp using TimeZoneConv
- Start With The Right Path
- Resolve Addresses And Locations
- Look Up Timezone IDs
- Generate Code
- Warn About Common Pitfalls
- Response Shape
- References
What does the dotnet-timezone skill do?
.NET timezone handling guidance for C# applications. Use when working with TimeZoneInfo, DateTimeOffset, NodaTime, UTC conversion, daylight saving time, scheduling across timezones, cross-platform Windows/IANA timezone IDs, or when a .NET user needs the timezone for a city, address, region, or country and copy-paste-ready C# code.
How do I install it?
Run `npx skills add github/awesome-copilot --skill dotnet-timezone --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From github/awesome-copilot, a repository with 37,432 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.