![]() |
| ||
| How to get the current date in JAVA 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 |
| ||
| Re: How to get the current date in JAVA to get date and time check this tutorial and here you can find all you need about manipulating date/time in MySQL date/time type sorry couldn't help you more with previous problem been away, but looks like you sorted out :cheesy: |
| ||
| Re: How to get the current date in JAVA thanks, guy you are really kind |
| ||
| Re: How to get the current date in JAVA lol not kind, i'm just giving you tips where I go when I run out of ideas/get desperate etc. If you know what you are looking for it is not so bad to locate it on internet good luck with your project |
| ||
import java.util.Calendar; |
| All times are GMT -4. The time now is 4:17 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC