Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface DateRangeFilter

    Filter calls based on createTime. If not value is submitted, the default value is the prior week.

    • from: '2024-02-15' will return all calls from February 2024, 15th
    • from: '2024-02-01T14:00:00Z' will return all calls after 14:00:00 on the first of February 2024.
    • from: '2024-02-01T14:00:00Z' + to: '2024-02-01T15:00:00Z' will return all calls between 14:00:00 and 15:00:00 (inclusive) on the first of February 2024.
    • from: '2024-02-01' + to: '2024-02-29' will return all calls for all of February 2024.

    Note: It is also possible to submit partial dates.

    • from: '2024-02' will return all calls for February 2024
    interface DateRangeFilter {
        from?: string | DateFormat | Date;
        to?: string | DateFormat | Date;
    }
    Index

    Properties

    Properties

    from?: string | DateFormat | Date
    to?: string | DateFormat | Date