File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding the date obtained using java.util.Date class

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am using the date obtained using java.util.Date 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??

Thanks,
Jignesh
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could have your code ask for the time on another machine.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic