Function

GLib-2.0GLibdate_valid_day

  • Returns true if the day of the month is valid (a day is valid if it's between 1 and 31 inclusive).

    Parameters

    • day: number

      day to check

    Returns boolean

    true if the day is valid