Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
lsolesen
pel
PelEntryTime
convertUnixToJd
lsolesen\pel\PelEntryTime::convertUnixToJd PHP Method
PelEntryTime Class Documentation
Mostra file
Open project: lsolesen/pel
convertUnixToJd()
public
method
Converts a UNIX timestamp to a Julian Day count.
public
convertUnixToJd
(
integer
$timestamp
) :
integer
$timestamp
integer
the timestamp.
return
integer
the Julian Day count.
public function convertUnixToJd($timestamp) { return (int) (floor($timestamp / 86400) + 2440588); }
PelEntryTime
__construct
convertGregorianToJd
convertJdToGregorian
convertJdToUnix
convertUnixToJd
getValue
setValue