Parses a string representation of a date in "dd/mm/yyyy" format and returns a Date object. If the input is not in the correct format or is null, returns null.

  • Parameters

    • date: null | string

      The string representation of the date to parse.

    Returns null | Date

    • The parsed Date object or null if the input is not valid.