Components \ commerce \ affiliates administrators commissions payments \ configuration paymentmethods \ shippingmethods \ methods delivery discounts \ products brands categories \ recurringsales storedcards \ sales items \ receipts allocations \ customers \ contacts passwords referrertypes \ relationships types \ groups contacts \ marketing \ emailmarketing \ sends contacts unsubscribers \ events attendees locations \ reminders \ automation eventremindertrigger \ settings administrators components configurationitems cpanel customfields \ developer scheduledtasks threads domains \ website \ analytics sessions comments \ designs generator media pages \ posts categories Framework \ architecture publicassets \ assets css javascript \ caching filebased \ components textualids \ data util \ database mainconnection date \ dom currentcontext renderer \ html converters highlighter javascript \ http redirection request session useragent \ i18n companytypes countries languages \ network cidr dns geoip random \ reflection api \ system filenames filesystem toasts
.
.
.
quick access
\ methods

\Framework\Date::

Class Methods

The following static methods are available on this class:
string format($strTime, $strDateFormat, $bNoRelative)
Description
Reformats a date stamp to be human readable
Parameters
$strTime
string
$strDateFormat
string
$bNoRelative
bool
Return
string
String formatWithTime($strTime, $bSeperateWithBR, $strDateFormat, $strTimeFormat, $bNoTZ, $bNoRelative)
Description
Reformats a datetime stamp to be human readable
Parameters
$strTime
string|int
The time to format. Can be a timestamp or a string time. Should be in UTC.
$bSeperateWithBR
bool
Seperate the date and time with a <br>.
$strDateFormat
string
A custom date format to use.
$strTimeFormat
string
A custom time format to use.
$bNoTZ
bool
If true, don't convert to local time.
$bNoRelative
mixed
Return
String