Current Location: Home> Function Categories> unixtojd

unixtojd

Convert Unix timestamps to Julian day counts.
Name:unixtojd
Category:Uncategorized
Programming Language:php
One-line Description:Convert Unix timestamps to Julian day counts.

Definition and usage

unixtojd() function converts Unix timestamps into Julian day counts.

Note: Unix timestamps indicate the number of seconds from midnight (Gregorian calendar, solar calendar) on January 1, 1970.

Tip: See the jdtounix() function to convert Julian day counts to Unix timestamps.

Example

Convert Unix timestamps to Julian day counts:

 <?php
echo unixtojd ( ) ;
?>

Run the instance

grammar

 unixtojd ( timestamp ) ;
parameter describe
timestamp Optional. Specifies the Unix timestamp to be converted.
Similar Functions
Popular Articles