utc to date code example
Example 1: javascript date to utc format
new Date().toISOString()
> '2012-11-04T14:51:06.157Z'
Example 2: Datetime to utc format
string foo = yourDateTime.ToUniversalTime()
.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fff'Z'");
Example 3: epoch
Epoch timestamp is a unit of measurement for time. It is the number of
seconds elapsed since the countdown has started.
Beginning epochs per system:
macOS - January 1, 1904
Windows - January 1, 1601
Unix - January 1, 1970