Like DateTime.Now gives us current date and time with respect to current system.
How can we find Current Time of different culture i.e different timezone using c# asp.net???
I find SystemTimeToTzSpecificLocalTime Function but how can i used this one???
Like DateTime.Now gives us current date and time with respect to current system. How
Share
If you’re using .NET 3.5 or later, you can use
TimeZoneInfo:You need to be somewhat careful using
TimeZoneInfo– differentDateTime“kinds” do different things – you should read the docs for any call you make carefully. (I recently blogged about the problems withDateTime…TimeZoneInfobasically has to handle the ambiguity.)