UTC int Convert to DateTime How?
Posted on 2005-03-03
I have a UTC int, how do I convert this to a standard datetime. Example, the UTC int 1104178047 is the date of 2005-03-02. I need both date and time. There are several proposed solutions I've found on the web, but they are incorrect. Most involve counting seconds, but this does not work. C++ has a function GMTime, which works great. I'm looking for something similar in c#. This problem requires an understanding of UTC, a typical date solution will not work.