An instance of the date class can be used to display the current time, to calculate time between specified date/time combinations (as in displaying countdowns), to show what day of the week a particular date falls on, to generate a random number, or to display a number in UTC format as a date.