I'm developing a method that will receive UNIX timestamp and culture:
public DateTime unixEpochToDateTime(long unixTimeStamp, string culture) {
...
}
Call example:
DateTime t = unixEpochToDateTime(1478181983, "es-ES");
I need convert this UTC time between many cultures, without using TimeZone.CurrentTimeZone because this method will be run in server and the server culture is allways the same.
For example, if two user request my method in EE.UU and in Great Britain, I get the same UTC?
I'm very confused.