Java tutorial
import java.util.Calendar; import java.util.Locale; public class Main { public static void main(String[] args) { Calendar cal = Calendar.getInstance(Locale.CANADA); // print the date for canada System.out.println("Date And Time in Canada Is: " + cal.getTime()); } }