Format a local time/date according to locale settings
built in strftime() function.
e.g:
$obj->strftime("%x %H", time());
$obj->strftime("%H", time(), false, false, 'America/New_York');
public static strftime ( $format, $stamp = false, $convert = null, $jalali = null, $timezone = null ) : string | ||
$format | string Acceps format string based on: php.net/date | |
$stamp | int Unix Timestamp (Epoch Time) | |
$convert | bool (Optional) forces convert action. pass null to use system default | |
$jalali | bool (Optional) forces jalali conversion. pass null to use system default | |
$timezone | string (Optional) forces a different timezone. pass null to use system default | |
리턴 | string | Formatted input |