writeDateTimeSeconds function

int writeDateTimeSeconds(
  1. DateTime dateTime
)

Implementation

int writeDateTimeSeconds(DateTime dateTime) =>
    dateTime.millisecondsSinceEpoch ~/ Duration.millisecondsPerSecond;