How to use UnixToJD in PHP Calendar
In this article I am going to explain about UnixToJD function in PHP.
PHP Calendar UnixToJD() Function
The calendar UnixToJD function converts a Unix timestamp to a Julian day count.
Syntax of UnixToJD function
Parameters in UnixToJD function
It has only one parameter:
Parameter |
Description |
timestamp |
It is an optional parameter and accepts timestamp. |
Example of Calendar UnixToJD function
<html>
<body>
<?php
echo(unixtojd(1345507200));
?>
</body>
</html>
|
Output:
You may also want to read these related articles :here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here