with_delta¶
- servicemon.analysis.plot_pages.with_delta(t, delta)[source]¶
Return the datetime and time string for a time that is delta different than t.
- Parameters
- tstr or datetime
Base time as an iso time string or datetime object
- deltatimedelta
Amount of time to add to t. E.g.,
delta=timedelta(days=7)
- Returns
- (datetime, str)
The time resulting from t + delta as both datetime and str