Solar_View_Helper_Date::date()

public string Solar_View_Helper_Date::date ( string $spec , string $format = NULL )

Outputs a formatted date.

Parameters

  • (string) $spec: Any date-time string suitable for strtotime().

  • (string) $format: An optional custom » date() formatting string; null by default.

Returns

  • (string) The formatted date string.

Description

Outputs a formatted date.



Local