Global Variables

The following global variables are available globally.

  • Time interval between the Unix standard reference date of 1 January 1970 and the OpenStep reference date of 1 January 2001 This number comes from:

    (((31 years * 365 days) + 8 *(days for leap years)* */) = /* total number of days */ * 24 hours * 60 minutes * 60 seconds)

    Note

    This ignores leap-seconds

    Declaration

    Swift

    public let TimeIntervalBetween1970AndReferenceDate: TimeInterval = 978307200.0
  • The semantic versioning of the SwiftFoundation library.

    Declaration

    Swift

    public let SwiftFoundationVersion = SemanticVersion(mayor: 0, minor: 1, patch: 0)