Support for defining your own timeranges

Slightly dirty way, but it works

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>