want the TimeStamp object to be created with the current day's TimeStamp along with the microseconds. Is there a way to do that. i was trying to create the TimeStamp like this:- new TimeStamp(new Date().getTime()); This doesn't return me the microseconds. If i use the System.nanoTime(). It gives the value comparing from the year 1970's . Can i get the exact milliseconds for the current time.