The following grid shows the metrics mapped to the time date type column are calculated in the derived metric and subtotal.

The following example shows how to create the metrics to calculate on Analytical Engine.

Time1: ApplySimple("datediff(second,0, #0)",time1)
Time2: ApplySimple("datediff(second,0, #0)",time2)
time1: (Max() {~} / 86400)
time2: (Max() {~} / 86400)