@backblaze-labs/b2-mcp
    Preparing search index...

    Function periodStartDate

    • Date one period before from (UTC), day-clamped for short months (e.g. Mar 31 minus one month → Feb 28/29, not Mar 3).

      Parameters

      • period: Period

        Lookback period to subtract.

      • from: Date

        UTC anchor date for the comparison.

      Returns string

      The period start date in YYYY-MM-DD format.