Replace 86400.0 with a constant everywhere