Function shiftTime

  • Will apply the given time shift to a parsed time object.

    Useful when you have times in different timezones.

    Parameters

    • parsedTime: ParseResponse

      Parsed time object you want to apply the time shift to

    • offsetMinutes: number

      Offset in minutes (can be negative as well)

    Returns ParseResponse

    The shifted time object

Generated using TypeDoc