The Inner Drive Extensible Architecture™—the Idea™
Demonstration: Time zones
The IDEA™ includes a fully-object-oriented, easy-to-integrate set of tools to allow you to use the Internet-standard time zone database—used throughout the world on hundreds of millions of computers and mobile phones—in your .NET apps. It also uses the Unicode Common Locale Data Repository, which provides user-friendly time zone identifiers in most languages.
This demonstration will let you choose any of the 613 time zones in the latest version of the TZDB and CLDR.
See also the SDK for the Inner Drive Extensible Architecture™—the Idea™.
Search for a time zone
| UTC | 8/20/2026 10:18:18 AM +00:00 UTC |
| Time to view | |
| Locale | en-US |
Code in program.cs
builder.Services.AddSingleton<ICldrFileReader, AzureCldrFileReader>(); builder.Services.AddSingleton<ISecretProvider, KeyVaultSecretProvider>(); builder.Services.AddSingleton<ITimeZoneFactory, TimeZoneFactory>(); builder.Services.AddSingleton<ITzInfoFileReader, AzureTzInfoFileReader>(); var factory = app.Services.GetRequiredService<ITimeZoneFactory>(); await factory.InitializeAsync();
Code on this page
@inject ITimeZoneFactory TimeZoneFactory
private string? _selectedZoneName;
private readonly string _utcName = IdtTimeZone.Utc.Name;
private async Task<IdtTimeZone> SelectedTimeZone()
{
var zoneName = _selectedZoneName ?? _utcName;
return await TimeZoneFactory.FindAsync(zoneName, ZoneNotFoundBehavior.ReturnDefault);
}
private async Task DisplayTimeInfo()
{
_currentUtcDisplay = await LogUtilities.DisplayTime(_currentTime, IdtTimeZone.Utc);
_tzdbIdentifier = _timeZone.Name;
if (!TimeZoneFactory.CldrInitialized)
{
_selectedZoneDisplay = _timeZone.Name;
return;
}
var generic = _timeZone.LocalizedName(_currentTime, CultureInfo.CurrentUICulture);
var location = _timeZone.LocalizedName(_currentTime, CultureInfo.CurrentUICulture, TimeZoneNameStyle.Location);
_selectedZoneDisplay = $"{generic} ({location})";
}
Inner Drive Extensible Architecture - Time Zones Provides time zone services for Inner Drive applications Version 5.3.9728.0 Release CLR 10.0.10 8/19/2026 4:59 PM Copyright ©2026 Inner Drive Technology. All rights reserved. Portions Copyright ©1986-2026 David Braverman. inner-drive.com The public-facing website for Inner Drive Technology Version 2.1.9728.0 Release CLR 10.0.10 8/19/2026 9:00 PM Copyright ©2026 Inner Drive Technology. All rights reserved. Portions Copyright ©1986-2026 David Braverman.
Copyright ©2026 Inner Drive Technology. Purveyors of fine, hand-crafted software.