Home
last modified time | relevance | path

Searched refs:uday (Results 1 – 1 of 1) sorted by relevance

/PHP-7.0/ext/calendar/
H A Dcal_unix.c56 zend_long uday; in PHP_FUNCTION() local
58 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &uday) == FAILURE) { in PHP_FUNCTION()
61 uday -= 2440588 /* J.D. of 1.1.1970 */; in PHP_FUNCTION()
63 if (uday < 0 || uday > 24755) { /* before beginning of unix epoch or behind end of unix epoch */ in PHP_FUNCTION()
67 RETURN_LONG(uday * 24 * 3600); in PHP_FUNCTION()

Completed in 6 milliseconds