Overview
Helper for a formatted date using » date() format codes.
Configuration Keys
strftime
: When true, uses strftime() instead of date() for formatting dates. Default is false.format
: The default output formatting using » date() codes. Default is 'Y-m-d'.tz_origin
: Consider all input timestamps as being from this timezone. Default is the value of » date_default_timezone_get().tz_output
: Output all timestamps after converting to this timezone. Default is the value of » date_default_timezone_get().
Constants
None.
Public Properties
The Solar_View_Helper_Date class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_View_Helper_Date class.
You can also view the list of all public, protected, and private methods.
-
__construct()
-
Constructor.
-
__destruct()
-
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
date()
-
Outputs a formatted date.
-
dump()
-
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
locale()
-
Looks up class-specific locale strings based on a key.
-
timestamp()
-
Outputs a formatted timestamp using » date() format codes.