Added date_time_as_unix and duration extensions for active_interaction

Added date_time_as_unix and duration extensions for active_interaction