Formatting
Functions to format numbers, strings, dates, etc.
Functions
| Name | Location | Description |
|---|---|---|
| format_date | drupal/includes/common.inc | Format a date with the given configured format or a custom format string. |
| format_interval | drupal/includes/common.inc | Format a time interval with the requested granularity. |
| format_plural | drupal/includes/common.inc | Format a string containing a count of items. |
| format_rss_channel | drupal/includes/common.inc | Formats an RSS channel. |
| format_rss_item | drupal/includes/common.inc | Format a single RSS item. |
| format_size | drupal/includes/common.inc | Generate a string representation for the given byte count. |
| format_xml_elements | drupal/includes/common.inc | Format XML elements. |
| parse_size | drupal/includes/common.inc | Parse a given byte count. |
