Functions to format numbers, strings, dates, etc.


drupal/core/includes/, line 1557
Common functions that many Drupal modules will need to reference.


Namesort descending Location Description
date_iso8601 drupal/core/includes/ Returns an ISO8601 formatted date based on the given date.
format_date drupal/core/includes/ Formats a date, using a date type or a custom date format string.
format_interval drupal/core/includes/ Formats a time interval with the requested granularity.
format_plural drupal/core/includes/ Formats a string containing a count of items.
format_rss_channel drupal/core/includes/ Formats an RSS channel.
format_rss_item drupal/core/includes/ Formats a single RSS item.
format_size drupal/core/includes/ Generates a string representation for the given byte count.
format_xml_elements drupal/core/includes/ Formats XML elements.
parse_size drupal/core/includes/ Parses a given byte count.
_format_date_callback drupal/core/includes/ Translates a formatted date string.