Hi all,
How can I add or subtract Hours or Minutes from a DateTime variable?
Example: x = DATETIME(2005, 3, 24, 10, 45, 22)
if I wanted to subtract 45 minutes from x to get the result of 3/24/2005 10:00:22, how is this achieved?
also,
is there a way to subtract 1 day from x to get 3/23/2005 10:45:22?
TIA,
Louis
How can I add or subtract Hours or Minutes from a DateTime variable?
Example: x = DATETIME(2005, 3, 24, 10, 45, 22)
if I wanted to subtract 45 minutes from x to get the result of 3/24/2005 10:00:22, how is this achieved?
also,
is there a way to subtract 1 day from x to get 3/23/2005 10:45:22?
TIA,
Louis