Name

- — Subtracts from a timestamp

Synopsis

basetimestampObj.-(value)

Description

#- subtracts value from basetimestampObj; the return type is dependent upon the type of value. If it is a numeric type (Fixnum, Bignum, Float or Ruby9i::Number), the specified number of days is subtracted, and a timestamp object is returned that is the same type as basetimestampObj. If value is an interval, a timestamp object is returned that is the same type as basetimestampObj. If it is another typestamp object, an IntervalDS object is returned.