User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 392,267 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,766 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting

How to get the current date in JAVA

Join Date: Jul 2006
Posts: 6
Reputation: KilluaX is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
KilluaX KilluaX is offline Offline
Newbie Poster

Question How to get the current date in JAVA

  #1  
Jul 28th, 2006
Hi, all

Can anybody tell me how to get the current date in a java program?

And, I want to insert the date into a database with a date/time format, is there any difference from insert a string?


thanks for reply
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 7:41 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC