By default, the toString method returns the name of the object’s class plus its hash code. By Doug Lowe . There are no values for hours, minutes, seconds. The following code formats a Date object to a String using locale-specific full name of the day of the week (tA), full name of month (tB), day of month (td) and 4-digit year (tY): 1 2 String longDate = String.format ("Today is %tA %