Contents

secondsFromGMT(for:)

The current difference in seconds between the time zone and Greenwich Mean Time.

Declaration

func secondsFromGMT(for date: Date = Date()) -> Int

Parameters

  • date:

    The date to use for the calculation. The default value is the current date.

See Also

Getting Time Zone Information