jdtounix: Julian date to Unix time stamp

$day = cal_to_jd(CAL_GREGORIAN,2,2,2010); // Julian Day count
$day_unix=jdtounix($day); // Unix time stamp
echo date('m/d/y',$day_unix);// In date format
The output is here
We can get unix time stamp by using gdtounix() function. Here we will use Julian Date ( Integer )as input.
Here is an example. Note: jdtounix() returns the local time, where Unix Timestamp generator uses GMT
Unix timestamp to Julian day count
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 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer