PHP 8.4.0 RC2 available for testing

SeasLog::setDatetimeFormat

(PECL seaslog >=1.0.0)

SeasLog::setDatetimeFormatSet SeasLog datetime format style

Description

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

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top