cal_from_jd: getting Calendar from Julian day count

$jdday_number = cal_to_jd(CAL_JULIAN,12,4,2013);
The output is here
Array ( [date] => 12/4/2013 [month] => 12 [day] => 4 [year] => 2013 [dow] => 2 [abbrevdayname] => Tue [dayname] => Tuesday [abbrevmonth] => Dec [monthname] => December )
By using Julian day count ( Integer value ) we can get the calendar details like month , day , day of the week, year etc ( in the form of an array ). Syntax is here.
cal_from_jd(julian_day INT,CAL_GREGORIAN)
Demo of how Unix timestamp is used to generate Julian Day and Calendar
Calendar Functions
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    PHP video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer