Does anyone know of a way to handle unix timestamps (ie, number of second since Jan 1, 1970) in .NET (Using C#, for reference)? I need to be able to read in the number of seconds, and get the corresponding Month, Day, Year, and time out of it.
The closest I can come is the Ticks property of System.DateTime, which seems to provide support for 100-nanosecond increments since Jan 1, 0001, which should be usable, with some conversions.
Any suggestions?
The closest I can come is the Ticks property of System.DateTime, which seems to provide support for 100-nanosecond increments since Jan 1, 0001, which should be usable, with some conversions.
Any suggestions?