JAVA
Thursday, December 23, 2010
simple method to convert date to timestamp in java
private Timestamp convertDatetoTimestamp(Date date){
Timestamp currentTimeStamp = new Timestamp(date.getTime());
return currentTimeStamp;
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)