use time_now_sec() from utils.h
check if the constants used are defined - otherwise we might get false positives