timeframe.from_seconds

The timeframe label for a length in seconds: 300 gives "5m", 3600 "1h", 86400 "1D", 604800 "1W".

timeframe.from_seconds(seconds: int) -> string

Parameters

Example

tf = timeframe.from_seconds(timeframe.in_seconds * 3)