make time delta calculation work on <python2.7
make time delta calculation work on <python2.7

jeroenh/OpenNSA,NORDUnet/opennsa,NORDUnet/opennsa,jab1982/opennsa,NORDUnet/opennsa,jab1982/opennsa,jeroenh/OpenNSA,jeroenh/OpenNSA