« Back to Product

Documentation

IPS_GetKernelStartTime

Require: Symcon >= 4.0

 int IPS_GetKernelStartTime ()

Returns

Point in time of the most recent start of IP-Symcon

Description

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

Example

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