gtfs-sqljs
    Preparing search index...

    Function gtfsTimeToEpoch

    • Convert a GTFS time (seconds since the start of the service day, as returned by parseGtfsTime) into a unix epoch in seconds.

      Parameters

      • daySeconds: number

        Seconds since the start of the service day (may exceed 86400)

      • serviceDate: string

        Service date in YYYYMMDD format

      • timezone: string

        IANA timezone name of the agency

      Returns number