<?php
arr|bool time_nanosleep ( int $seconds , int $nanoseconds )
where,
$seconds = Number of seconds to delay
$nanoseconds = Number of nanoseconds to add to seconds
?>
<?php
$lang = 'en';
$str_tzg = date_default_timezone_get();
$pt = 'Fuso horário atual:<br>';
$en = 'Current Time Zone:<br>';
$jp = 'タイムゾーンセット:<br>';
echo '<br>' . $$lang . ' ' . $str_tzg . '<br><br>';
echo date("l F d Y H:i:s");
echo '<br><br>';
$t1sec = 2;
// seconds
$t1usec = 100000000;
// nseconds
time_nanosleep($t1sec, $t1usec);
echo date("l F d Y H:i:s");
?>