fix day value in seconds, used new constant variables