Added define rather than hardcoded values for settime