Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

CAL_EASTER_DEFAULT (int)
For easter_days(): calculate Easter for years before 1753 according to the Julian calendar, and for later years according to the Gregorian calendar.
CAL_EASTER_ROMAN (int)
For easter_days(): calculate Easter for years before 1583 according to the Julian calendar, and for later years according to the Gregorian calendar.
CAL_EASTER_ALWAYS_GREGORIAN (int)
For easter_days(): calculate Easter according to the proleptic Gregorian calendar.
CAL_EASTER_ALWAYS_JULIAN (int)
For easter_days(): calculate Easter according to the Julian calendar.
CAL_GREGORIAN (int)
For cal_days_in_month(), cal_from_jd(), cal_info() and cal_to_jd(): use the proleptic Gregorian calendar.
CAL_JULIAN (int)
For cal_days_in_month(), cal_from_jd(), cal_info() and cal_to_jd(): use the Julian calendar.
CAL_JEWISH (int)
For cal_days_in_month(), cal_from_jd(), cal_info() and cal_to_jd(): use the Jewish calendar.
CAL_FRENCH (int)
For cal_days_in_month(), cal_from_jd(), cal_info() and cal_to_jd(): use the French Repuclican calendar.
CAL_NUM_CALS (int)
The number of available calendars.
CAL_JEWISH_ADD_ALAFIM_GERESH (int)
For jdtojewish(): adds a geresh symbol (which resembles a single-quote mark) as thousands separator to the year number.
CAL_JEWISH_ADD_ALAFIM (int)
For jdtojewish(): adds the word alafim as thousands separator to the year number.
CAL_JEWISH_ADD_GERESHAYIM (int)
For jdtojewish(): add a gershayim symbol (which resembles a double-quote mark) before the final letter of the day and year numbers.
CAL_DOW_DAYNO (int)
For jddayofweek(): the day of the week as int, where 0 means Sunday and 6 means Saturday.
CAL_DOW_SHORT (int)
For jddayofweek(): the abbreviated English name of the day of the week.
CAL_DOW_LONG (int)
For jddayofweek(): the English name of the day of the week.
CAL_MONTH_GREGORIAN_SHORT (int)
For jdmonthname(): the abbreviated Gregorian month name.
CAL_MONTH_GREGORIAN_LONG (int)
For jdmonthname(): the Gregorian month name.
CAL_MONTH_JULIAN_SHORT (int)
For jdmonthname(): the abbreviated Julian month name.
CAL_MONTH_JULIAN_LONG (int)
For jdmonthname(): the Julian month name.
CAL_MONTH_JEWISH (int)
For jdmonthname(): the Jewish month name.
CAL_MONTH_FRENCH (int)
For jdmonthname(): the French Republican month name.

Here you can write a comment


Please enter at least 10 characters.
Loading... Please wait.
* Pflichtangabe
There are no comments available yet.

Midjourney Tutorial - Instructions for beginners

There is an informative video about Midjourney, the tool for creating digital images using artificial intelligence, entitled "Midjourney tutorial in German - instructions for beginners" ...

Mike94

Autor : Mike94
Category: KI Tutorials

Basics of views in MySQL

Views in a MySQL database offer the option of creating a virtual table based on the result of an SQL query. This virtual table can be queried like a normal table without changing the underlying data. ...

admin

Autor : admin
Category: mySQL-Tutorials

Definition of stored procedures - an introduction

Stored procedures are predefined SQL code blocks that are stored in a database and can be called up as required. ...

Bernie

Autor : ebiz-consult GmbH & Co. KG
Category: mySQL-Tutorials

Publish a tutorial

Share your knowledge with other developers worldwide

Share your knowledge with other developers worldwide

You are a professional in your field and want to share your knowledge, then sign up now and share it with our PHP community

learn more

Publish a tutorial