|
CaMykS
1.0-20250801
|
Variables | |
| const | TODAY time() |
| date_displayLongDayDateHour | ( | $date = TODAY | ) |
Display long textual representation of day, date and hour.
| date | $date |
| date_displayLongDateHour | ( | $date = TODAY | ) |
Display long textual representation of date and hour.
| date | $date |
| date_displayLongDayDate | ( | $date = TODAY | ) |
Display long textual representation of day and date.
| date | $date |
| date_displayLongDate | ( | $date = TODAY | ) |
Display long textual representation of date.
| date | $date |
Display long textual representation of date interval.
| date | $date1 | |
| date | $date2 |
| date_displayShortDayDateHour | ( | $date = TODAY | ) |
Display short textual representation of day, date and hour.
| date | $date |
| date_displayShortDateHour | ( | $date = TODAY | ) |
Display short textual representation of date and hour.
| date | $date |
| date_displayShortDayDate | ( | $date = TODAY | ) |
Display short textual representation of day and date.
| date | $date |
| date_displayShortDate | ( | $date = TODAY | ) |
Display short textual representation of date.
| date | $date |
Display short textual representation of date interval.
| date | $date1 | |
| date | $date2 |
| date_displayNumericDateHour | ( | $date = TODAY | ) |
Display numeric representation of date and hour.
| date | $date |
| date_displayNumericDate | ( | $date = TODAY | ) |
Display numeric representation of date.
| date | $date |
| date_displayTime | ( | $date = TODAY | ) |
Display time.
| date | $date |
| date_displayDay | ( | $date = TODAY | ) |
Display day.
| date | $date | can be a week day |
| date_displayMonth | ( | $date = TODAY | ) |
Display month.
| date | $date | can be a month |
| date_displayDuration | ( | $duration, | |
$params = array() |
|||
| ) |
Display duration.
| int | $duration | |
| array | $params |
| date_display | ( | $date = TODAY | ) |
Alias to date_displayLongDayDateHour Display long textual representation of day, date and hour
| date | $date |
Check if dates are the same day.
| date | $date1 | |
| date | $date2 |
Check if dates are the same month.
| date | $date1 | |
| date | $date2 |
Check if dates are the same year.
| date | $date1 | |
| date | $date2 |
| date_isToday | ( | $date = TODAY | ) |
Check if date is today.
| date | $date |
| date_isTomorrow | ( | $date = TODAY | ) |
Check if date is tomorrow.
| date | $date |
| date_isYesterday | ( | $date = TODAY | ) |
Check if provided date is yesterday.
| date | $date |
Compare times.
| date | $date1 | |
| date | $date2 |
| date_getTodayValue | ( | ) |
Return today at 0h0m value.
| date_getTomorrowValue | ( | ) |
Return tomorrow at 0h0m value.
| date_getYesterdayValue | ( | ) |
Return yesterday at 0h0m value.
| date_getThisWeekValue | ( | ) |
Return first day of current week at 0h0m value.
| date_getNextWeekValue | ( | ) |
Return first day of next week at 0h0m value.
| date_getLastWeekValue | ( | ) |
Return first day of last week at 0h0m value.
| date_getThisMonthValue | ( | ) |
Return first day of current month at 0h0m value.
| date_getNextMonthValue | ( | ) |
Return first day of next month at 0h0m value.
| date_getLastMonthValue | ( | ) |
Return first day of last month at 0h0m value.
| date_getThisYearValue | ( | ) |
Return first day of current month at 0h0m value.
| date_getNextYearValue | ( | ) |
Return first day of next month at 0h0m value.
| date_getLastYearValue | ( | ) |
Return first day of last month at 0h0m value.
| date_getOrdinalSuffix | ( | $date = 0 | ) |
Return ordinal suffix for date.
| int | $date |
| date_stringToTimestamp | ( | $date | ) |
Return string formatted date to timestamp.
| string | $date |
| date_getNewYearsDay | ( | $year = null | ) |
Return New Year's day for given year.
| integer | $year |
| date_getEasterDay | ( | $year = null | ) |
Return Easter day for given year.
| integer | $year |
| date_getAscensionDay | ( | $year = null, |
|
$easter = null |
|||
| ) |
Return Ascension day for given year (or Easter day)
| integer | $year | |
| integer | $easter |
| date_getPentecostDay | ( | $year = null, |
|
$easter = null |
|||
| ) |
Return Pentecost day for given year (or Easter day)
| integer | $year | |
| integer | $easter |
| date_getAssumptionDay | ( | $year = null | ) |
Return Assumption day for given year.
| integer | $year |
| date_getAllSaintsDay | ( | $year = null | ) |
Return All Saints day for given year.
| integer | $year |
| date_getChristmasDay | ( | $year = null | ) |
Return Christmas day for given year.
| integer | $year |
| date_strftime | ( | $format, | |
$date = TODAY |
|||
| ) |
Replacement for strftime php method that is deprecated with PHP 8.1.
| string | $format | |
| integer | $date |
| date_getLanguage | ( | $language = null | ) |
| date_displayLongFormat | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
Return date display with complete day and month name.
| date | $date | |
| string | $language |
| date_displayShortFormat | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayQuickFormat | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayYear | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayMonthAndYear | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayDate | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayDayMonthAndHour | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayDayAndHour | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayQuickDate | ( | $date = TODAY, |
|
$language = null |
|||
| ) |
| date_displayHour | ( | $date = TODAY | ) |
| const TODAY time() |