Server IP : 51.89.169.208 / Your IP : 3.145.146.15 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/yellowleaf/public_html/phpMyAdmin/vendor/thecodingmachine/safe/generated/ |
Upload File : |
<?php namespace Safe; use Safe\Exceptions\CalendarException; /** * This function will return a Unix timestamp corresponding to the * Julian Day given in jday or FALSE if * jday is outside of the allowed range. The time returned is * UTC. * * @param int $jday A julian day number between 2440588 and 106751993607888 * on 64bit systems, or between 2440588 and 2465443 on 32bit systems. * @return int The unix timestamp for the start (midnight, not noon) of the given Julian day. * @throws CalendarException * */ function jdtounix(int $jday): int { error_clear_last(); $result = \jdtounix($jday); if ($result === false) { throw CalendarException::createFromPhpError(); } return $result; }