The delta function

This page contains the documentation for the delta() function.

delta(t: datetime.datetime) datetime.timedelta

The time between the given point and now.

Parameters:

t (datetime.datetime) – the time point.

Returns:

The difference between the time point t and now.

Return type:

datetime.timedelta