Previous Page
_exception()

Solar_Log_Adapter_File
_getTime()

Next Page
_save()

_getTime()

protected string _getTime ( )

Gets the current timestamp in ISO-8601 format (yyyy-mm-ddThh:ii:ss).

Inherited from Solar_Log_Adapter.

Parameters

  • None.

Returns

  • (string) The current timestamp.

Description

Gets the current timestamp in ISO-8601 format (yyyy-mm-ddThh:ii:ss).

If the 'microtime' config option is true, the seconds have a decimal portion appended.