I need help setting a due date with specific time.
When someone checks something out from my library, a due date is set and added to the LibraryRecords collection. Borrowed items must be returned by 6 PM on the due date.
My problem is how to identify when something is late.
First, I tried using a simple date field for the due date. Then I created a list showing anything with a due date before start of today.
But I discovered that, when you just use a date field, it always returns date without time, so “start of today” doesn’t actually mean anything.
Then I tried using a date/time field. The problem here is that whenever I choose a date in a date/time field, the time always defaults to 00:00. I have to change the time component every time I set a due date. I need to make the “6 PM” a default.
How do I set this up so that “in 2 days” always means “in 2 days at 6 PM”, or “on July 14” always means “on July 14 at 6 PM”?
You need two Date Properties. One for Start Date and End Date. And on your create contract action you can add start date to the end date and add +30 or to be dynamic you can add a input and add that instead of 30. You can do the same thing with forms too!