PHP

PHP Menu

PHP

jewishtojd() Function - Definition, Syntax, Parameters, Examples

Definition

The jewishtojd() function converts a date in the Jewish Calendar to Julian Day Count.

Syntax

jewishtojd(month, day, year)

Parameters

Parameter Description
month Required. Specifies the month as a number from 1 to 13.
day Required. Specifies the day as a number from 1 to 30.
year Required. Specifies the year as a number between 1 and 9999.

Example

<?php

$jd = jewishtojd(12, 1, 2021);
echo $jd;

Introduction

PHP Basics

PHP Advance

PHP OOP

PHP Functions and Methods