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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -