In reply to Andrew Howell.

INTNX (a function that increments date/datetime values by a given timespan) is a SAS workhorse that is hugely popular. Thanks for sharing!