I am new to Olson Time Zone Database .Net

Topics: Developer Forum
Sep 23, 2008 at 12:10 AM
Hi Guys,

I am an ASP.Net Developer, and I am interested in using the Olson Time Zone Database. But just don't know how to integrate it in my asp.net application. I actually copied the sample from this link http://www.codeproject.com/KB/dotnet/Using_time_zones_in_NET.aspx , but there is an error that says: tzTimeZone could not be found.

I already downloaded the PublicDomain in my directory - C:\Program Files\Public Domain

How will I do it in asp.net?



Sep 23, 2008 at 12:49 AM
Hi Oliver! To use TzTimeZone, just add a reference in your project to C:\Program Files\Public Domain\PublicDomain.dll. To do this from Visual Studio, right click on your project, click Add Reference, click on the Browse tab, and type in the file name above. Then everything should just work.
Let me know if you have any other questions,
Sep 23, 2008 at 3:42 PM
Hi schizoidboy,

I just included the publicdomain.dll in my bin folder, and it is working fine now.