class tree: 68Classifieds |
index: 68Classifieds |
all elements
addDays (line 54)
getDateTime (line 89)
getUnixDate (line 33)
subtractDays (line 72)
Date
Description
Date manipulation class
This object allows the modification and manipulation of a date.
Located in /includes/classes/format/Date.php (line 24)
Method Summary
Methods
addDays (line 54)
Add days to a unix timestamp
timestamp
addDays
(mixed $days, [mixed $timeStamp = null])
- mixed $days: integer or string value of days
- mixed $timeStamp: integer or string unix timestamp, defaults to null
getDateTime (line 89)
Get the datetime of a timestamp or current
unknown
getDateTime
([mixed $timeStamp = null])
- mixed $timeStamp: string or integer value for unix time
getUnixDate (line 33)
Get the current unix date or convert datetime (y-m-d h:m:s) to unix format
string
getUnixDate
([string $string = null])
- string $string: y-m-d h:m:s
subtractDays (line 72)
Subtract days to a unix timestamp
timestamp
subtractDays
(mixed $days, [mixed $timeStamp = null])
- mixed $days: integer or string value of days
- mixed $timeStamp: integer or string unix timestamp, defaults to null

