C # offers a way to get the current date on DateTime.Now . But the problem is that my server is in the USA and I get time in the USA when I use DateTime.Now
Is there a way to get the current local time for a specific country in C #, since my users are from all over the world? (I have a locale for each user, so if I can get the current time for each locale, then I'm sure)
I saw a method using the time zone , but then I need to save the time zone and the link to the country.
I searched and most of the questions here are about converting UTC time to local time and vice versa. Hope someone can enlighten me.
source share