dotnet-timezone

Generate C# timezone conversion code using TimeZoneInfo, TimeZoneConverter, and NodaTime.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/luisgustavooliveira/skills --skill dotnet-timezone-luisgustavooliveira
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-timezone
Source: https://github.com/luisgustavooliveira/skills/tree/main/dotnet-timezone
Command: npx skills add https://github.com/luisgustavooliveira/skills --skill dotnet-timezone-luisgustavooliveira

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires TimeZoneInfo, TimeZoneConverter, NodaTime, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit offers guidance on handling timezone issues in .NET applications, providing a comprehensive reference for C# developers working with timezone-related tasks.

Core Features & Use Cases

  • TimeZone Information: Access detailed information on timezones for accurate date and time handling.
  • Code Generation: Generate ready-to-use C# code snippets for timezone conversions and operations.
  • Best Practices: Learn about common pitfalls and best practices in .NET timezone handling.
  • Use Case: A .NET developer working on an application that needs to handle daylight saving time transitions across multiple timezones.

Quick Start

To resolve the timezone for "New York," run the command: 'dotnet-timezone resolve "New York"'

Frequently Asked Questions about dotnet-timezone

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle timezone conversions in a .NET application?

Handle timezone conversions in a .NET application by generating ready-to-use C# code snippets and applying best practices. This skill provides detailed timezone information to ensure accurate date and time handling across different environments.

What is the best way to manage daylight saving time transitions across multiple timezones in C#?

Manage daylight saving time transitions across multiple timezones in C# by referencing comprehensive timezone data and best practices. This guidance helps you avoid common pitfalls during time conversion operations in your .NET applications.

Does this timezone guidance work for cross-platform and Linux environments?

Yes, this timezone guidance works for cross-platform and Linux environments. It provides suitable solutions for C# applications across Windows and Linux environments, ensuring accurate date handling regardless of the operating system.

Do I need NodaTime and TimeZoneConverter to perform time conversions in .NET?

You need NodaTime and TimeZoneConverter libraries to perform time conversions in .NET. This skill requires these dependencies alongside TimeZoneInfo to provide accurate timezone information and code generation for your C# applications.

Why does my time conversion logic fail during timezone transitions in .NET?

Time conversion logic fails during timezone transitions in .NET due to common pitfalls in handling daylight saving time. This skill provides best practices and code generation to correctly resolve timezones and prevent conversion errors.