DateTime addHour(DateTime date, int hours)
DateTime addHour(DateTime date, int hours)
Name | Type | Description |
---|---|---|
date | DateTime | A DateTime to add some amount of time to. |
hours | int | The number of hours to add to the DateTime. |
Type | Description |
---|---|
DateTime | A new DateTime that results from adding the number of time units to the date argument. |