Lines Matching refs:time
2 …e() function : usage variation - Passing high positive and negative float values to time argument.
7 /* Prototype : mixed date_sunrise(mixed time [, int format [, float latitude [, float longitude [,…
8 * Description: Returns time of sunrise for a given day and location
23 echo "\n-- Testing date_sunrise() function by passing float 12.3456789000e10 value to time --\n";
24 $time = 12.3456789000e10;
25 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
26 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
27 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
29 echo "\n-- Testing date_sunrise() function by passing float -12.3456789000e10 value to time --\n";
30 $time = -12.3456789000e10;
31 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
32 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
33 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
40 -- Testing date_sunrise() function by passing float 12.3456789000e10 value to time --
51 -- Testing date_sunrise() function by passing float -12.3456789000e10 value to time --