Results 1 to 2 of 2
Thread: Date() class to get current date
- 06-28-2011, 08:05 PM #1
Member
- Join Date
- Jun 2011
- Posts
- 3
- Rep Power
- 0
Date() class to get current date
Ive written Date lastUpdated = new Date() but that gets me:
Im looking for a simplier format more specifically this one:Java Code:Tue Jun 28 13:59:28 EDT 2011
Ive search google for found methods where i need to use SimpleDateFormat is that the only way of doing this because my prof wants us to use Date()Java Code:2010-09-30
- 06-28-2011, 09:17 PM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
Similar Threads
-
Inserting current date to oracle Date data type
By bartolay13 in forum JDBCReplies: 5Last Post: 02-16-2012, 09:26 AM -
Compare Mysql date with current date
By gioarvan in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 04-24-2011, 05:19 PM -
Compare date input to database with current date
By hungleon88 in forum Advanced JavaReplies: 2Last Post: 11-25-2008, 08:10 AM -
Difference between current date and anothe date
By vijay balusamy in forum New To JavaReplies: 1Last Post: 04-16-2008, 04:15 PM -
how to get the current date and time
By valery in forum New To JavaReplies: 1Last Post: 08-03-2007, 06:05 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks