date_i18n ( $dateformatstring, $unixtimestamp = false, $gmt = false )

  • (string) $dateformatstring Format to display the date.
  • (bool|int) $unixtimestamp Optional. Unix timestamp. Default false.
  • (bool) $gmt Optional. Whether to use GMT timezone. Default false.
  • (string) The date, translated if locale specifies it.
Defined at:


Retrieve the date in localized format, based on timestamp.

If the locale specifies the locale month and weekday, then the locale will take over the format for the date. If it isn't, then the date format string will be used instead.

Related Functions

update_option, update_nag, wp_update_link, validate_plugin, path_join

Top Google Results

User discussions

wpseek mobile