Function constructDate

  • Functional alias for new Date().

    Parameters

    • Optional date: string | number | Date

    Returns Date