[Solved] How do I convert this string to a DateTime? [closed]

That looks like a UNIX timestamp, if so it’ll be: Int64 timestamp = Convert.ToInt64(“1319556419”); DateTime newDate = new DateTime(1970,1,1).AddSeconds(timestamp); edit: It’s actually seconds instead of milliseconds by the looks of it. This gives the date of October 25, 2011. 3 solved How do I convert this string to a DateTime? [closed]