tryphp_func_gettimeofday.php:
"; // Print the float from gettimeofday() echo gettimeofday(true) . "
"; // Return current time; then format the output $mytime=gettimeofday(); echo "$mytime[sec].$mytime[usec]"; ?>
Array ( [sec] => 1696685320 [usec] => 635770 [minuteswest] => 0 [dsttime] => 0 )
1696685320.7056
1696685320.705602