def get_time_ranges(ranges):
<EOL>now = int(time.time())<EOL>time_slots = dict()<EOL>for key, value in ranges.items():<EOL><INDENT>time_slots[key] = (now - value[<NUM_LIT:0>], now - value[<NUM_LIT:1>], value[<NUM_LIT:2>])<EOL><DEDENT>return (now, time_slots)<EOL>
:param ranges:
:return: