Skip to content

.NET Timezone Helper

Gives .NET/C# code and Windows/IANA timezone IDs for cities, regions and DST handling

Stars
40,703
Licence
MIT
Files
3 files

What it does

When you ask a coding agent about timezones in C# or .NET, this skill makes it follow a set playbook: look up the right Windows and IANA timezone IDs for a place, recommend a library such as TimeZoneConverter or NodaTime, and produce copy-paste C# snippets that avoid common daylight saving and UTC mistakes. It includes a reference table of common location-to-timezone mappings and a set of code patterns to draw from.

Great for

  • C# developers handling timezone conversion, scheduling or DST in .NET apps
  • Teams needing a Windows ID and IANA ID for a city or country quickly
  • Developers moving .NET code between Windows and Linux or containers

Skip it if

  • Non-.NET projects, since the guidance and snippets are C#-specific
  • Locations missing from the mapping table; the agent may infer a zone, which should be checked against an authoritative source before production use
  • Anyone expecting the skill to run code or check live timezone rules; it only supplies guidance and static reference data

Try asking

  • “What timezone ID should I use in C# for Sri Lanka on both Windows and Linux?”
  • “Write a C# method that converts a UTC timestamp to the user's local time using TimeZoneConverter.”
  • “How should I schedule a daily job in New York time in .NET without breaking on daylight saving changes?”
  • “Which DateTimeOffset pattern should my ASP.NET Core API use to return timestamps?”
Step-by-step guide: how to use .NET Timezone HelperInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 3 original files, the MIT licence and an attribution note.

    dotnet-timezone.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip dotnet-timezone.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip dotnet-timezone.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Give the exact city, region or country plus the target platform (Windows, Linux, or both) so the agent picks the right ID format.
  • Ask the agent to verify any ID or offset not in the reference table before relying on it in production.
  • Store timestamps in UTC and convert for display, as the skill's pitfall warnings recommend.

What's inside

  • references/code-patterns.md
  • references/timezone-index.md
  • SKILL.md

Redistributed unmodified from github/awesome-copilot under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.