Solar_View_Helper_Time::timestamp()

public string Solar_View_Helper_Time::timestamp ( string $spec , string $format = NULL )

Outputs a formatted timestamp using » date() format codes.

Inherited from Solar_View_Helper_Timestamp.

Parameters

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

  • (string) $format: An optional custom » date() formatting string.

Returns

  • (string) The formatted date string.

Description

Outputs a formatted timestamp using » date() format codes.



Local