Telling Time Internationally
Intended Audience: |
Managers, Software Engineers, Internationalization and Localization Engineers, QA Engineers |
Session Level: |
Intermediate |
You need a program that accesses an accurate source of time, you would
like to see it in a format and language that you are accustomed to,
and it would be nice if the results reflected local calendar use. It
would also be handy if you could get your Windows computer clock
updated as well. Enter WWVCSharp, a program written in C# that
accesses the National Institute of Standard and Technologies' very
accurate clock over the Internet and renders the time in more than one
hundred formats and in as many as six calendars depending on your
language and location. Along the way, we will cover Calendars from
Hebrew and Hijri to Thai Buddhist, Julian and modified Julian Days, a
bit of socket programming, calling Win32 API's directly to update the
system time, and managing a list of providers with XML.
|