DateTimeOffset.ToUnixTimeMilliseconds Method ()
Returns the number of milliseconds that have elapsed since 1970-01-01T00:00:00.000Z.
Assembly: mscorlib (in mscorlib.dll)
Unix time represents the number of seconds that have elapsed since 1970-01-01T00:00:00Z (January 1, 1970, at 12:00 AM UTC). It does not take leap seconds into account. This method returns the number of milliseconds in Unix time.
This method first converts the current instance to UTC before returning the number of milliseconds in its Unix time. For date and time values before 1970-01-01T00:00:00Z, this method returns a negative value.
Available since 10
Available since 4.6