SeasLog::setDatetimeFormat

Set SeasLog datetime format style

Description

public static bool SeasLog::setDatetimeFormat(string $format)

Set SeasLog datetime format style.

Warning

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