I am building a database to hold data for fish weir counts. Some weirs run 24 hours and others only trap for partial days. Right now I have a Date field and two time fields: Trap_In and Trap_Out. The idea being that much of the data will need to be totaled by Date, but that trapping hours will also need to be totaled.
I have built a check box control, which when TRUE auto fills the Trap_In with 0 and Trap out with 1 (for the fraction of the 24 hour day). But the result for the Trap_Out value is not behaving as I would like.
I realize that 24 hours is equal to 0 for the next day but I am getting a 0 hour with a date, 12/31/1899.
Am I designing my fields incorrectly? Should I merge Date and Time? If so, I do not see and Date Time alternatives that use 24 hour time.
I have built a check box control, which when TRUE auto fills the Trap_In with 0 and Trap out with 1 (for the fraction of the 24 hour day). But the result for the Trap_Out value is not behaving as I would like.
I realize that 24 hours is equal to 0 for the next day but I am getting a 0 hour with a date, 12/31/1899.
Am I designing my fields incorrectly? Should I merge Date and Time? If so, I do not see and Date Time alternatives that use 24 hour time.