Skip to content

Latest commit

 

History

History
80 lines (33 loc) · 1.11 KB

Date_I18n_Immutable.md

File metadata and controls

80 lines (33 loc) · 1.11 KB

Date_I18n_Immutable

Class Date i18n Immutable

Methods

createFromMutable

{@inheritDoc}

public static createFromMutable(mixed $datetime): \StellarWP\Dates\Date_I18n_Immutable
  • This method is static.

Parameters:

Parameter Type Description
$datetime mixed

Return Value:

Localizable variation of DateTimeImmutable.


format_i18n

Returns a translated string using the params from this Immutable DateTime instance.

public format_i18n(string $date_format): string

Parameters:

Parameter Type Description
$date_format string Format to be used in the translation.

Return Value:

Translated date.



Automatically generated from source code comments on 2023-08-19 using phpDocumentor and saggre/phpdocumentor-markdown