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!
@dilon_perera
Hi, I was testing this idea of ​​yours, if it is with a defined date for all cases it works, but I need it with several amounts of months (the choice of the amount of month is free)
I can choose 12 months, 15 months, 16 months, 20 months, 25 months, 30 months…
the customer who will put in the input field the number of months he wants to know the final date.
the problem that the months have different days.
Has month of 28 days, 29 days, 30 days, 31 days
would have to get by dates and not by number of days