This project is read-only.

How to assign value in Zone manually?

Topics: Developer Forum
Sep 24, 2008 at 3:18 AM

I am new to PublicDomain.dll and I would like to ask if is there any way to assign value to zone, manually?

I tried this code below but it gives an error: (CS0029: Cannot implicitly convert type 'string' to 'PublicDomain.TzTimeZone'

TzTimeZone zone = "Australia/Perth";

Sep 24, 2008 at 3:57 AM
Hi Guys,

Please disregard this question of mine, because I already got it by using the TzTimeZone.GetTimeZone("Australia/Perth");