Okay not sure if anyone can help. What I'm doing in Java is making a form for a timecard system. There is a section where you can enter the date of the time period. there also dates for each day we work. So when you fill out your timecard you have to fill out the date of the pay period and then the date of each day in the pay period that you've worked. What I'd like to do is have a user input their time in the pay period box and then have the other boxes auto populate subtracting a day. Not sure if that makes sense. basically what i need to do is figure out how to take a date inputted into a text box and then subtract by one day and put that calculation in another field. I see how you can add and subtract from the current date but no way to do it through an inputted date.
No comments:
Post a Comment