Nov 1, 2001 #1 rhull Programmer May 23, 2001 46 US I am having trouble getting the current date I assume i import java.util.Date() but from the sun web site many of the methods I would use like getMonth are deprecated. What is a good way to get this done? Thanks! -Ryan
I am having trouble getting the current date I assume i import java.util.Date() but from the sun web site many of the methods I would use like getMonth are deprecated. What is a good way to get this done? Thanks! -Ryan
Nov 1, 2001 Thread starter #2 rhull Programmer May 23, 2001 46 US nervermind, I came up with a solution, <%@ page import="java.util.Calendar"%> Calendar calendar = Calendar.getInstance(); int tempMonth = calendar.get(Calendar.MONTH); int tempYear = calendar.get(Calendar.YEAR); -R Upvote 0 Downvote
nervermind, I came up with a solution, <%@ page import="java.util.Calendar"%> Calendar calendar = Calendar.getInstance(); int tempMonth = calendar.get(Calendar.MONTH); int tempYear = calendar.get(Calendar.YEAR); -R