Overview
Helper for a formatted time 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 'H:i:s'.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_Time class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_View_Helper_Time 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().
-
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.
-
time()
-
Outputs a formatted time using » date() format codes.
-
timestamp()
-
Outputs a formatted timestamp using » date() format codes.