Return value based on date
-
Hello. Is it possible to return a yes / no value when a selected date is before or after a set date. Something like,
(function(){
var purchaseDate = fieldname6;
var fromDate = 11/30/2024;
if (purchaseDate < fromDate) {
? alert(“Current date is before November 30th.”);
} else {
? alert(“Current date is after or equal to November 30th.”);
})();
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.