★ wanayoo — archive 1999 http://www.php.net/manual/function.jdmonthname.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Calendar
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Calendar
* JDToGregorian
* GregorianToJD
* JDToJulian
* JulianToJD
* JDToJewish
* JewishToJD
* JDToFrench
* FrenchToJD
* JDMonthName
* JDDayOfWeek
* easter_date
* easter_days
* unixtojd
* jdtounix
Manual: JDMonthName
View the source code for this pageSearch the site



Previous page
 FrenchToJD
 Updated
Sat, 12 Aug 2000
JDDayOfWeek 
Next page


JDMonthName

(unknown)

JDMonthName -- Returns a month name

Description

string jdmonthname (int julianday, int mode)

Returns a string containing a month name. mode tells this function which calendar to convert the Julian Day Count to, and what type of month names are to be returned.

Table 1. Calendar modes

ModeMeaning
0Gregorian - abbreviated
1Gregorian
2Julian - abbreviated
3Julian
4Jewish
5French Republican


User Contributed Notes: JDMonthName


sbadler@teamgenesis.com
07-Apr-2000 10:35
Sure does.

$m = date("m", time());
$d = date("d", time());
$y = date("Y", time());
$jd = GregorianToJD($m,$d,$y);
echo "jewish month: " . jdmonthname($jd, 4);


Will print out the name of the current Jewish month.



 About Notes


Previous page
 FrenchToJD
 Updated
Sat, 12 Aug 2000
JDDayOfWeek 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.