toSeconds method

int toSeconds()

Gets the number of seconds that have elapsed since the UNIX epoch.

Implementation

int toSeconds() {
  return _secondsSinceEpoch;
}