Belin.io Core
    Preparing search index...

    Function atMidnight

    • Returns the date at midnight corresponding to the specified date.

      Parameters

      • date: Date

        The source date.

      Returns Date

      The date whose time has been set at midnight.