system property

TimeInstantUnits system
final

Number of milliseconds since 1 Jan 1970 0h 0m 0s, which is the System time defined by the Dart VM.

Implementation

static final TimeInstantUnits system = TimeInstantUnits(
    'System Time (ms since 1 Jan 1970 0h 0m 0s)',
    null,
    'System Time',
    null,
    .001,
    false,
    4383000.0 * 86400.0,
    (dynamic d) => (UTC.fromMks(d) - 3.786912e8) * 1000, (dynamic d) {
  d = (d is num || d is Number) ? d.toDouble() : 0.0;
  // Get seconds in UTC time scale... (offset = 4383 days = 3.786912e14 ms)
  d = 0.001 * ((d as double) + 3.786912e11); // UTC seconds
  return UTC.toMks(d);
});