File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Regarding the date obtained using java.util.Date class
Joined: Dec 28, 2004
Mar 29, 2006 06:12:00
i am using the date obtained using
class for my application.What i would like to know is that whether it gives the system date or some other date??
Because if its system date then obtaining the current date like that is useless for me as the user can change the system date & enter some other date??
So if its system date then what i should do onbtain the current date which can't be changed by the user??
The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Joined: Sep 16, 2005
Mar 29, 2006 06:16:00
You could have your code ask for the time on another machine.
There is no emoticon for what I am feeling!
I agree. Here's the link:
subject: Regarding the date obtained using java.util.Date class
String Input, Problems getting date format on output
compare two dates thru Calendar
dates in sql to dates in java
How to use calender
Tomcat showing wrong date
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014