« Back to Product

Documentation

IPS_GetUptime

 int IPS_GetUptime ()

Returns

Point of time of the most recent start of IP Symcon

Description

The function returns the date and time of the start time of IP Symcon as Unix Timestamp.

Warning

This function is implemented until version 3.4. Since version 4.0 it is replaced by IPS_GetKernelStartTime.

Example

// returns, e.g., 1204675012
echo IPS_GetUptime();
// returns, e.g., "2008.03.04 23:56:52" 
echo gmdate("Y.m.d H:i:s.", IPS_GetUptime());
Any questions?