SeasLog::setDatetimeFormat
(PECL seaslog >=1.0.0)
SeasLog::setDatetimeFormat — Set SeasLog datetime format style
Description
$format
): boolSet SeasLog datetime format style.
This function is currently not documented; only its argument list is available.
Parameters
-
format
-
String. Such as `Y-m-d H:i:s` or `Ymd His`. See also first param `format` at date().
Return Values
Return TRUE on setted datetime format success, FALSE on failure.
Examples
Example #1 SeasLog::setDatetimeFormat() example
<?php
var_dump(SeasLog::setDateTimeFormat('Ymd His'));
?>
The above example will output something similar to:
bool(true)
See Also
- SeasLog::getDateTimeFormat() - Get SeasLog datetime format style