Source Code : Format date
Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com.
Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com.
Click Here or search from google with Libraries Name you get jar file related it
Format date
<%--
Copyright (c) 2002 by Phil Hanna
All rights reserved.
You may study, use, modify, and distribute this
software for any purpose provided that this
copyright notice appears in all copies.
This software is provided without warranty
either expressed or implied.
--%>
<%@ page import="java.text.*" %>
<%@ page import="java.util.*" %>
<%! int count; %>
<%
String requestTime =
new SimpleDateFormat("hh:mm:ss a").format(new Date());
count = 0;
for (int i = 0; i < 10; i++) {
%>
Request at <%= requestTime %> count = <%= ++count %><br>
<%
Thread.sleep(250);
}
%>
Thank with us