I want to deserialize and serialize a unix timestamp to a DateTime, what's the backing variable name that I should use in the getter? I'm using the standard Microsoft ToDo quickstart with Xamarin.
[JsonProperty(PropertyName = "date")]
public DateTime Date
{
get
{
System.DateTime dtDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc);
dtDateTime = dtDateTime.AddSeconds(WHATGOESHERE).ToLocalTime();
return dtDateTime;
}
set => ((DateTimeOffset)value).ToUnixTimeSeconds();
}