Use the correct number of seconds in a day. fixes #43