|
Previous Page |
Solar_View_Helper_Date |
Next Page |
_process()
protected
string
_process (
string|int $spec,
string $format
)
Outputs a formatted timestamp using date() format codes.
Inherited from Solar_View_Helper_Timestamp.
Parameters
- (string|int)
$spec: Any date-time string suitable for strtotime(); if an integer, will be used as a Unix timestamp as-is. - (string)
$format: An optional custom date() formatting string.
Returns
- (string) The formatted date string.
Description
Outputs a formatted timestamp using date() format codes.