Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[red]<%@page import="java.util.Calendar" %>[/red]
<html>
<body>
Current date's parts are :
[red]<%
Calendar c=Calendar.getInstance();
out.println("Day : "+c.get(Calendar.DAY_OF_MONTH)+"<br>");
out.println("Month : "+c.get(Calendar.MONTH)+"<br>");
out.println("Year : "+c.get(Calendar.YEAR)+"<br>");
%>[/red]
</body>
</html>