@yookue/ts-lang-utils
    Preparing search index...

    Function getEndOfDay

    • Returns the end day date of the given date

      Parameters

      • Optionaldate: Date

        the date to inspect

      Returns undefined | Date

      the end day date of the given date

      David Hsing

      getEndOfDay(new Date(2023, 8, 30, 12, 12, 12));    // Date(2023, 8, 30, 23, 59, 59)