IcingaApiConversionTime Class Reference

List of all members.

Public Member Functions

 convertTime ($time, $format= '%Y-%m-%d%H:%M:%S')

Detailed Description

conversion helper

Author:
Christian Doebler <christian.doebler@netways.de>

Member Function Documentation

IcingaApiConversionTime::convertTime ( time,
format = '%Y-%m-%d %H:%M:%S' 
)

converts time from epoch to iso (etc.) and back

Parameters:
mixed $time time as unix timestamp or ist, etc.
string $format output format if $time is a unix timestamp
Returns:
mixed converted time or false on error
Author:
Christian Doebler <christian.doebler@netways.de>

The documentation for this class was generated from the following file:

Generated on Thu Jan 14 15:06:46 2010 for ICINGA-API by  doxygen 1.6.1