time php
<?php
/* Unix Timestamp */
$timestamp = time();
echo $timestamp . "<br>";
echo date("d/m/Y", $timestamp);
?>
time php
<?php
/* Unix Timestamp */
$timestamp = time();
echo $timestamp . "<br>";
echo date("d/m/Y", $timestamp);
?>
php time
<?php
$t=time();
echo($t . "<br>");
echo(date("Y-m-d",$t));
?>
calculate time php
//Calculate the execution time in PHP
<?php
// Start the clock time in seconds
$start_time = microtime(true);
$val=1;
// Start loop
for($i = 1; $i <=99999; $i++)
{
$val++;
}
// End the clock time in seconds
$end_time = microtime(true);
// Calculate the script execution time
$execution_time = ($end_time - $start_time);
echo " It takes ".$execution_time." seconds to execute the script";
?>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us