AnsweredAssumed Answered

Does AFTime takes UNIX timestamp as the parameter

Question asked by Shubhangi on Jul 6, 2020
Latest reply on Jul 6, 2020 by David Hearn

Hey Everyone, my query is Does AFTime takes UNIX timestamp as the parameter. Below is the piece of code for reference.

 

long timestamp = 1594051320;

AFTime aftime=new AFTime(Convert.ToString(timestamp).DateTimeFromUnixTimestampMillis());

 

Also Kindly correct me if the way i have written the piece of code is incorrect

 

aftime unix time

Outcomes