time()


int time ( void )

Description

time() returns current Unix timestamp.

※ available F/W version : all

Parameters

None

Return values

Returns current Unix timestamp from the RTC.

Example

<?php
$str = date("Y:M-d-TH:i:s", time());
echo "$str\r\n";
while(1);
?>

See also

date() / mktime()

Remarks

This function is identical to the PHP group’s time() function.