Handle->DateTimeIntervalFunction method

generates function call that calcs difference between
two dates in seconds.
Merge branch 'date-time-interval' into experimental