GoLang jdtounix

request it (418)
GoLang replacement for PHP's jdtounix [edit | history]



Do you know a GoLang replacement for PHP's jdtounix? Write it!

PHP jdtounix

PHP original manual for jdtounix [ show | php.net ]

jdtounix

(PHP 4, PHP 5, PHP 7)

jdtounixConvert Julian Day to Unix timestamp

Description

int jdtounix ( int $jday )

This function will return a Unix timestamp corresponding to the Julian Day given in jday or FALSE if jday is not inside the Unix epoch (Gregorian years between 1970 and 2037 or 2440588 <= jday <= 2465342 ). The time returned is UTC.

Parameters

jday

A julian day number between 2440588 and 2465342.

Return Values

The unix timestamp for the start (midnight, not noon) of the given Julian day.

See Also

  • unixtojd() - Convert Unix timestamp to Julian Day