You are here

Formatting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/common.inc \format

Functions to format numbers, strings, dates, etc.

File

core/includes/common.inc, line 233
Common functions that many Drupal modules will need to reference.

Functions

Namesort descending Location Description
date_iso8601 core/includes/common.inc Returns an ISO8601 formatted date based on the given date.
format_date Deprecated core/includes/common.inc Formats a date, using a date type or a custom date format string.
format_size core/includes/common.inc Generates a string representation for the given byte count.