The plugin allows creating and managing a calendar, as well as working with dates.

pvvGetNumberCurrentDay
The function returns the current day of the month.

pvvGetMaxNumberCurrentMonth
The function returns the maximum number of days in the current month.

pvvGetNumberCurrentDayWeek
The function returns the number of the current day of the week. 0 - Sunday .... 6 - Saturday

pvvGetNameCurrentDayWeek
The function returns the name of the current day of the week.

pvvGetNumberCurrentMonth
The function returns the number of the current month. 0 - January .... 11 - December.

pvvGetNameCurrentMonth
The function returns the name of the current month.

pvvGetNumberCurrentYear
The function returns the current year.

pvvGetNameFirstDayWeekCurrentMonth
The function returns the name of the first day of the week in the current month.

pvvGetNameLastDayWeekCurrentMonth
The function returns the name of the last day of the week in the current month.

pvvGetNameDayWeek
The function returns the name of the day of the week for the user-specified day number.

pvvGetNameMonth
The function returns the name of the month for the user-specified month number.

pvvGetNumberDayWeekFromDate
The function returns the number of the day of the week for the user-specified date.

pvvGetNameDayWeekFromDate
The function returns the name of the day of the week for the user-specified date.

pvvGetDateDifference
The function returns the full difference between dates. Minuend - subtrahend = difference. Returns an array [years, months, days, hours, minutes, seconds]

pvvGetYearDifference
The function returns the difference between dates in years. Minuend - subtrahend = difference.

pvvGetMonthDifference
The function returns the difference between dates in months. Minuend - subtrahend = difference.

pvvGetDaysDifference
The function returns the difference between dates in days. Minuend - subtrahend = difference.

pvvGetHourDifference
The function returns the difference between dates in hours. Minuend - subtrahend = difference.

pvvGetMinuteDifference
The function returns the difference between dates in minutes. Minuend - subtrahend = difference.

pvvGetSecondDifference
The function returns the difference between dates in seconds. Minuend - subtrahend = difference.

pvvGetWeekCurrentNumber
The function returns the number of the current week in the current year.

pvvGetWeekNumber
The function returns the week number for the specified date.

pvvVanillaCreateCalendar
The function - constructor, creates a calendar, and allows managing its settings.

pvvVanillaCreateMonth
The function creates a list of months, and allows the user to choose months and the year from the corresponding headers. This mode is useful if you need to limit the user's choice to only the month and year, without the possibility of choosing specific days.

pvvVanillaCreateYear
The function creates a list of years, allowing the user to choose the year from the list, and choose the month from the corresponding header. This mode is useful if you need to limit the user's choice to only the year and month, and exclude the possibility of choosing specific days.

pvvVanillaSetRangeMinMax
The function sets the minimum and(or) maximum dates that the user can choose. Dates smaller or larger than specified will be disabled and unavailable for selection.

pvvVanillaSetRangePastDayFalse
The function disables all past days.

pvvVanillaSetRangePastDayTrue
The function enables all past days.

pvvVanillaSetRangeGapsFalse
This function disables the selection of days in a range with disabled dates. Works only if date range selection is set in the calendar.

pvvVanillaSetRangeGapsTrue
This function enables the selection of days in a range with disabled dates. Works only if date range selection is set in the calendar.

pvvVanillaSetAllDaysFalse
This function disables all days and can be useful when using pvvVanillaSetEnabledDay.

pvvVanillaSetAllDaysTrue
This function enables all days and can be useful when using pvvVanillaSetEnabledDay.

pvvVanillaSetWeekday
The function allows disabling specified weekdays. Specify an array with numbers, where each number represents a weekday identifier. For example, 0 - Sunday.

pvvVanillaSetDisabledDay
The function allows disabling specified dates, regardless of the specified range. Specify a date and(or) date range in the format 2024-02-10:2024-02-15 or 2024-02-20 ona new line. Attention! The array must be enclosed in double quotes.

pvvVanillaSetEnabledDay
The function allows enabling specified dates, regardless of the range and disabled dates. Specify a date and(or) date range in the format 2024-02-10:2024-02-15 or 2024-02-20 on a new line. Attention! The array must be enclosed in double quotes.

pvvVanillaSetSelectionDay
The function determines whether selecting one or multiple days is allowed, or if day selection is completely disabled.

pvvVanillaSetSelectionMonth
The function allows disabling month selection, allowing month switching only with arrows, or allowing month switching by any means.

pvvVanillaSetSelectionYear
The function allows disabling year selection, allowing year switching only with arrows, or allowing year switching by any means.

pvvVanillaSetCancelableDay
The function allows enabling/disabling cancellation of the selected date by re-clicking.

pvvVanillaSetSelecteDates
The function allows specifying a list of dates that will be selected upon initialization or updating of the calendar. Specify a date and(or) date range in the format 2024-02-10:2024-02-15 or 2024-02-20 on a new line. Attention! The array must be enclosed in double quotes.

pvvVanillaSetSelectedMonth
The function determines the month that will be displayed upon initialization or updating of the calendar. Months are numbered from 0 to 11.

pvvVanillaSetSelectedYear
The function determines the year that will be displayed upon initialization or updating of the calendar.

pvvVanillaSetSelectedHolidays
The function allows specifying dates that will be considered holidays and receive an additional CSS modifier. Specify a date and(or) date range in the format 2024-02-10:2024-02-15 or 2024-02-20 on a new line. Attention! The array must be enclosed in double quotes.

pvvVanillaSetTheme
The function allows changing the theme.

pvvVanillaSetVisibilityMonthShort
The function allows using abbreviated names of months when selecting a month.

pvvVanillaSetVisibilityWeekNumbers
With this function, you can decide whether the week numbers in the year will be displayed.

pvvVanillaSetVisibilityWeekend
The function allows highlighting/canceling the highlight of weekend days in the calendar.

pvvVanillaSetVisibilityToday
The function allows managing the highlight of the current day in the calendar.

pvvVanillaSetVisibilityDisabled
This function determines whether all days, including disabled days, will be displayed.

pvvVanillaSetVisibilityDaysOutside
With this function, you can decide whether days from the previous and next months will be displayed.

pvvVanillaGetDateMax
The function returns the maximum date in the Date object format. The maximum date should have been set through the pvvVanillaSetRangeMinMax function.

pvvVanillaGetDateMin
The function returns the minimum date in the Date object format. The minimum date should have been set through the pvvVanillaSetRangeMinMax function.

pvvVanillaGetRangeDisabled
The function returns an array of disabled dates. There must be disabled dates set through the pvvVanillaSetDisabledDay function.

pvvVanillaGetRangeEnabled
The function returns an array of enabled dates. There must be enabled dates set through the pvvVanillaSetEnabledDay function.

pvvVanillaGetSelectedDates
The function returns an array of currently selected dates.

pvvVanillaGetSelectedHolidays
The function returns an array of selected holiday dates. Holiday dates must have been set through the pvvVanillaSetSelectedHolidays function.

pvvVanillaGetSelectedMonth
The function returns the number of the currently selected month.

pvvVanillaGetSelectedYear
The function returns the number of the currently selected year.

pvvVanillaGetCorrectMonths
The function returns the current number of months to display.

pvvVanillaGetViewYear
The function returns the current displayed year.



--------------------------------
Specify the variable in which to place the result.
Select the language.
Specify the day of the week number.
Specify the month number.
Specify the year in the format YYYY.
Specify the month in the format MM.
Specify the day in the format DD.
Specify the date to be reduced.
Specify the date to be subtracted.
Select the first day of the week.

Monday
Sunday
Specify any available component for creating a calendar.
Pop-up calendar?
Display week numbers?
Select the number of months displayed simultaneously.
Select the number of months that can be switched simultaneously.
Specify the date selectionoption in the calendar.

Single date
Separate dates
Date range
Disable selection
Select the theme (default is light theme).

Light
Dark
OnDay Specify the variable for returning the selected date.

OnMonth Specify the variable for returning the selected month.

OnYear Specify the variable for returning the selected year.

onClickDate(date[array]) Specify the subroutine.

onClickWeek(weekNumber, year, weekDates[array]) Specify the subroutine.

onClickMonth(monthNumber, monthName) Specify the subroutine.

onClickYear(yearNumber) Specify the subroutine.

onClickArrows(Year, monthNumber, monthName) Specify the subroutine.

Specify the component for placing the list of months.

Specify the component for placing the list of years.

Specify the calendar container.

Specify the minimum date.

Specify the maximum date.

Specify the day of the week number (each number on a new line).

Specify the date and(or) date range.

Specify the month selection option in the calendar.
Specify the year selection option in the calendar.
Any method
Only with arrows
Disable selection
Enable/disable cancellation of the selected date.

Specify the month number (0-January....11-December)

Abbreviate month names?

Display week numbers?

Highlight weekend days?

Highlight the current day?

Display all days?

Display days from the previous and next month?

Specify what value you want to return in the text field.

Month number
Month name
----------------------------------------------------------------------------------------

