I came across code from this article, displayed below. Why is it using the Unix time (epochStart)? Can't it just use the UTCNow time instead of subtracting from the epochStart later?
DateTime epochStart = new DateTime(1970, 01, 01, 0, 0, 0, 0, DateTimeKind.Utc);
TimeSpan currentTs = DateTime.UtcNow – epochStart;
var serverTotalSeconds = Convert.ToUInt64(currentTs.TotalSeconds);
var requestTotalSeconds = Convert.ToUInt64(requestTimeStamp);
if ((serverTotalSeconds – requestTotalSeconds) > requestMaxAgeInSeconds)
{
return true;
}