/*	TodaysDate displays the current date on the console screen.
		It uses the date stored in the computer on which the program is run.
*/

import java.io.*;
import java.util.*;

public class TodaysDate
{
	public static void main (String [] args)
	{
		DateClass dateClass = new DateClass ();
		dateClass.getDate ();
		dateClass.displayDate ();
	}
} // TodaysDate

class DateClass
{
	private int day, month, year;
	
	public void getDate ()
	{
		GregorianCalendar today = new GregorianCalendar ();
		day = today.get (GregorianCalendar.DATE);
		month = today.get (GregorianCalendar.MONTH);
		month ++;
		year = today.get (GregorianCalendar.YEAR);
	} // getDate
	
	public void displayDate ()
	{
		System.out.print ("Today's date is " + month + "/");
		System.out.print (day + "/");
		System.out.println (year);
	} // displayDate
} // DateClass
