Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is there a way to get date and time in JAVA without using sysdate and time.

807580Sep 1 2009 — edited Sep 17 2009

Hi Everybody,



There is a requirement in my Application. The requirement is I need to instal an application and it need to expire after certain period (say 1 year).


And after that it should become useless for anyone enjoying the benefits of that. I need to know how to calculate the timeline for calculating expiry date.


<ul><li>&Oslash; We can't rely on system date, since user can modify that.</li>
<li>&Oslash; We also can't use counter because for that system should execute in 24x7.</li>
<li>&Oslash; Also there is no internet connection to fetch the current date from the global server.</li>
</ul>



So if anyone has any idea to accomplish post your suggestions to me.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 15 2009
Added on Sep 1 2009
68 comments
568 views