PHP unixtojd() Function
The unixtojd() function converts a Unix timestamp to
Julian Day Count.
Syntax
unixtojd(?int $timestamp = null): int|false
Try It Online
Output
Click Run to execute your code
Related Functions
- jdtounix() - Convert Julian Day to Unix timestamp
Enjoying these tutorials?