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;
}
1 comment:
venkat
December 23, 2010 at 11:01 PM
Make sure that your date object should not be a null...
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Make sure that your date object should not be a null...
ReplyDelete