ok, it depends
of what?
of where is the database?, in case of the database is in the same web server then you can use the timestamp of the server in your sql Statement, or in the case if your Database server resides in another server then y suggest you the posibility to create an Java RMI class that lives on the database server and then call it.
(or a servlet if you wisht to use a web container).
Greetings
Add a comment