I need to store the current time as long integer into a database table, there are maybe better ways to store date/time in database, but here long integer is the requirement.
In PHP, I can get the current time in integer with time(), in Java, is there any function or simple code that do the same trick?
Thank you