In PHP, i can just use Now()...is there anything similar in
java?
I've search the forum, but I'm not coming up with anything.
I know there is a java.sql.Timestamp class, but can get the time by using getTime();
Now when I try to insert time_stamp in my MySql table, I get nothing. I've define the timestamp column in my table as:
Time_Stamp | timestamp | NO | | CURRENT_TIMESTAMP |
If someone could point me in a better direction, I would be thankful.