0

For my school project , I got student details in database and according to system of that school yearly the student standards are raised by one grade . So how can i code so that the data i've entered in database, say 4 grade this year will become 5 grade automatically next year?
Is it possible to do this?
Kindly requesting for help for all !!!!

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by 47pirates
0

Just when You enter the grade first time store the system time. For that purpose read and use java.util.Date class.
Then after each time when you start your project create a method which compare the current date with the Date stored.
or you can create a thread which check after every 5 minutes or after every 1 hours while the project is running.

0

Just when You enter the grade first time store the system time. For that purpose read and use java.util.Date class.
Then after each time when you start your project create a method which compare the current date with the Date stored.
or you can create a thread which check after every 5 minutes or after every 1 hours while the project is running.

Can u please explain me by the help of the example....shortly!!!!!!!!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.