Auto Ad Code

Friday, July 22, 2022

UNIX Time to DateTime - Timestamp to DateTime - C# (C Sharp)

Unix time is the number of seconds that have elapsed since the 01 January 1970 00:00:00 UTC. 

01 January 1970 00:00:00 UTC is called Unix epoch.

Following short and simple (2 liner) C# (CSharp) function will return the DateTime for the provided Unix Time (Timestamp)