Open argvMatey opened 6 years ago
Here is a way to convert timestamps into pretty datetimes:
if (messageTs != null) { System.DateTime dateTime = new System.DateTime(1970, 1, 1, 0, 0, 0, 0); dateTime = dateTime.AddSeconds(Convert.ToDouble(messageTs)); dateTime = dateTime.ToLocalTime(); messageTs = Convert.ToString(dateTime);
}
Where would this go in ChannelSurfCli.csproj ?
Here is a way to convert timestamps into pretty datetimes:
if (messageTs != null) { System.DateTime dateTime = new System.DateTime(1970, 1, 1, 0, 0, 0, 0); dateTime = dateTime.AddSeconds(Convert.ToDouble(messageTs)); dateTime = dateTime.ToLocalTime(); messageTs = Convert.ToString(dateTime);