Description: Compute the number of days between two datetime values. Syntax: interval (t1,t2) t1- t2 Equivalent to iinterval, datetime value
Here’s how to use swap() function.interval,integer sequence,swap