Var unixTimestamp As Double = 1090555421 // Convert Unix timestamp to DateTime Var date As DateTime = DateTime.FromSecondsSince1970(unixTimestamp) // Format the date to a readable string Var formattedDate As String = date.ToString("yyyy-MM-dd HH:mm:ss") // Output the formatted date System.DebugLog("Converted Date: " + formattedDate)
DateTime.FromSecondsSince1970(unixTimestamp)
1090555421
DateTime
ToString("yyyy-MM-dd HH:mm:ss")
2004-07-23 04:03:41
DateTime.FromSecondsSince1970()
DateTime.FromSecondsSince1970(1514764800)
DateTime.SecondsFrom1970
date.SecondsFrom1970
DateTime.Now
DateTime.ToString()
date.ToString("yyyy-MM-dd HH:mm:ss")
New DateTime()
New DateTime(2018, 7, 15, 12, 30, 45)