Datetime, arithmetic operations

Hi there.


I´m using a power table object to show datetime data and I need to know the difference (substract) in minutes between first and second row, second and third row, etc. I set Extensions Function/ configurecell to do it, using libraries:

from datetime import datetime
from datetime import timedelta

However there is a mistake, maybe because power table is considering datetime column as string instead of datetime data type.

How can I solve this issue?

Ignition uses java datatypes, not jython datatypes. So jython's datetime module screws up. Use* scripting functions instead.