Functions to format numbers, strings, dates, etc.

Functions & methods

date_iso8601includes/common.incReturns an ISO8601 formatted date based on the given date.
format_dateincludes/common.incFormats a date, using a date type or a custom date format string.
format_intervalincludes/common.incFormats a time interval with the requested granularity.
format_pluralincludes/common.incFormats a string containing a count of items.
format_rss_channelincludes/common.incFormats an RSS channel.
format_rss_itemincludes/common.incFormats a single RSS item.
format_sizeincludes/common.incGenerates a string representation for the given byte count.
format_usernameincludes/common.incFormat a username.
format_xml_elementsincludes/common.incFormats XML elements.
parse_sizeincludes/common.incParses a given byte count.
_format_date_callbackincludes/common.incTranslates a formatted date string.


includes/, line 1601
Common functions that many Drupal modules will need to reference.