Java tutorial
import java.util.Date; public class MainClass { public static void main(String[] args) { Date now = new Date(); System.out.printf("ISO 8601 standard date: %tF/%TF\n", now, now); } }