Time Module

Functions and values

Function or value Description

addToXValueHours dt hours

Full Usage: addToXValueHours dt hours

Parameters:
Returns: DateTime

addToXValue: adds minutes to the date

dt : DateTime

hours : float

Returns: DateTime

Example

addToXValueMinutes dt minutes

Full Usage: addToXValueMinutes dt minutes

Parameters:
Returns: DateTime

addToXValue: adds minutes to the date

dt : DateTime

minutes : float

Returns: DateTime

Example

getDiffMinutes a b

Full Usage: getDiffMinutes a b

Parameters:
Returns: float

getDiff: calculates the time span between the two events as total minutes (float)

a : DateTime

b : DateTime

Returns: float

Example