Use This Template

AddHours(Number)

Adds the specified number of hours to the Time value.

TimeField1.AddHours(5) will return a new date that is exactly 5 hours in the future from TimeField1.

You can also use negative numbers with AddHours if you want to get a time that is a certain number of hours in the past. For example, TimeField1.AddHours(-3) would give you a time three hours ago.

AddHours(Number)

Adds the specified number of hours to the Time value.