0 Replies Latest reply on Apr 28, 2010 9:04 AM by William2100

    Date change based on time of day...


      Hello All,


           I am new to Java and creating stamps in Adobe. I have been requested to create a stamp that puts the date based on the current date and time. Anything that is stamped after 3:00pm needs to show the bussiness day. Based on the dynamic stamps default in acrobat I am able to create the a stamp with the current date but can not figure out how to create the IF/Then statment to test for the current time and adjust the to the new date if needed. Please help!


      Current Sript:

      event.value = (new Date()).toString();
      AFDate_FormatEx("mmm dd, yyyy");
      event.value = "Date " + event.value;