I need to retrieve day year and month from a timestamp object as long numbers:
public long getTimeStampDay() { String iDate = new SimpleDate
This method returns the day, date, year and time:
Timestamp timestamp = new Timestamp(System.currentTimeMillis());