Can someone advise how to set validation on the time portion of the date and time in Nintex Forms?
I have a Date/Time field that I was to require people to change form the Default 12AM.
Solved! Go to Solution.
Sure you can check for any hour you want.
But I do not get what you mean 'input to hhtt'
It's a format string that directs formatDate() function to return hour and AM/PM flag out of supplied date, so ithas always to be there in that form.
this worked for me, but i have another question related to time portion only
how to validate "Meeting Requested Time" to be >= 5 hours from the current time, which is the form submission time?
the "Meeting Requested Time" is a named control for Date/time field
thank you for your reply, i tried the DateFiffHours, it didnt calculate the correctly coz it consider the CurrentDate time as 12:00AM all the time
it didnt consider the real current time
that's not a problem of DateDiffHours() function.
it's problem of CurrentDate reference which is always created with 12:00AM.
to compare with exact current date and time use following formula
dateDiffHours(new Date (),DateCtrl)