dotnet-timezone

Provides .NET and C# code snippets for UTC and local timezone conversions with daylight saving time handling.

18|3|Updated Jul 3, 2020
One-click install
npx skills add https://github.com/jguadagno/jjgnet-broadcast --skill dotnet-timezone-jguadagno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dotnet-timezone
Source: https://github.com/jguadagno/jjgnet-broadcast/tree/main/.agents/skills/dotnet-timezone
Command: npx skills add https://github.com/jguadagno/jjgnet-broadcast --skill dotnet-timezone-jguadagno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

It addresses timezone conversion and location-based time queries within .NET and C# codebases, resolving common issues with time zone differences, daylight saving time, and cross-platform compatibility.

Core Features & Use Cases

  • Timezone Resolution: Provides guidance for address, location, and ID-based timezone lookups.
  • Conversion Snippets: Supplies ready-to-use C# code for UTC, local, and scheduled time conversions.
  • Use Case: A developer needs to correctly convert meeting times across multiple time zones in a cross-platform app, ensuring accuracy during daylight saving time changes.

Quick Start

Ask the AI how to convert UTC to the local time in Colombo using C# code snippets.

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 C# across different operating systems?▼

Timezone conversion in C# requires cross-platform compatible logic to handle different operating system timezone databases. This Skill provides best practices and code snippets to ensure accurate daylight saving time handling and location-based lookups across platforms.

What is the best way to convert UTC to local time in .NET while accounting for daylight saving time?▼

Converting UTC to local time in .NET requires reliable code snippets that correctly apply daylight saving time rules. This Skill supplies ready-to-use C# examples for UTC, local, and scheduled time conversions to prevent offset calculation errors.

How do I perform timezone lookups by address or location ID in a dotnet application?▼

Timezone resolution by address, location, and ID in a dotnet application requires specific lookup strategies. This Skill provides guidance for integrating address and location-based timezone queries into scheduling and user interface display logic.

Does dotnet-timezone work without external library dependencies for scheduling time conversions?▼

Yes, managing scheduled time conversions is handled through provided code snippets without external dependencies. This Skill relies on built-in .NET capabilities to resolve time zone differences and ensure accurate cross-platform scheduling.

Why are my C# datetime timezone conversions returning incorrect offsets during daylight saving time changes?▼

Incorrect datetime timezone offsets during daylight saving time changes often stem from non-cross-platform compatible C# code. This Skill resolves common conversion issues by providing best practices for handling time zone differences and daylight saving time accurately.