$unix
$unix : integer
A class to respresent a unix timestamp and allow convenient methods.
mktime(integer $hour, integer $minute, integer $second, integer $month, integer $day, integer $year) : static
Create a new DateTime object from a set of individual parts.
integer | $hour | The hour |
integer | $minute | The minute |
integer | $second | The second |
integer | $month | The month |
integer | $day | The day |
integer | $year | The year |
getMonth() : \duncan3dc\Dates\Month
Get a Month object for this date.
getYear() : \duncan3dc\Dates\Year
Get a Year object for this date.
withHours(integer $hour) : \duncan3dc\Dates\DateTime
Get a new instance but with the specified hour.
integer | $hour | The hour to use |
withMinutes(integer $minute) : \duncan3dc\Dates\DateTime
Get a new instance but with the specified minute.
integer | $minute | The minute to use |