Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Adds a given number of hours to a datetime.

Code Block
DateTime = SRP_DateTime("AddHours", Datetime, Hours)

...

Code Block
languagebp
// Add 10 ctohours the current datetime
NewDateTime = SRP_DateTime("AddHours", DateTime(), 10)

// Add an hour and a half to the current datetime
NewDateTime = SRP_DateTime("AddHours", DateTime(), 1.5)

// Subtract 10 hours from the current datetime
NewDateTime = SRP_DateTime("AddHours", DateTime(), -10)

...