java - DateFormat.MEDIUM cannot be resolved or is not a field -


I am trying to use the code of this line, but I get an error for "media" It says that can not be solved or there is no field I import import java.util.Date also. Can anyone tell me why this piece of code is not working? date today = new date (); Date Format DF = Date Format.GetDatement Instance (Dateform.MADIM);

Ensure that you also have java.text.DateFormat Imported

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -