Skip to content

Latest commit

 

History

History
80 lines (33 loc) · 1.03 KB

Date_I18n.md

File metadata and controls

80 lines (33 loc) · 1.03 KB

Date_I18n

Class Date i18n

  • Full name: \StellarWP\Dates\Date_I18n
  • Parent class: DateTime

Methods

createFromImmutable

{@inheritDoc}

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

Parameters:

Parameter Type Description
$datetime mixed

Return Value:

Localizable variation of DateTime.


format_i18n

Returns a translated string using the params from this 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