c# - Get Local TimeZoneInfo -


i using c#. need local time zone info person running web application.

i wondering if

   timezoneinfo tzinfo = timezoneinfo.local;     timezoneinfo.converttimefromutc(result.duedate.value, tzinfo); 

is use. again depending on time zone person running application is, reflected.

yes right, should use. alternative can be

timezone localzone = timezone.currenttimezone; 

but currenttimezone property corresponds timezoneinfo.local property no difference really.

it displays names standard time , daylight saving time local time zone.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -