Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

java  RSS feed

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Report post to moderator
How to get current in java?
Not from system's date because anyone can change it.
I want current to validate my application expiry.
 
Marshal
Posts: 64115
215
  • Mark post as helpful
  • send pies
  • Report post to moderator

meenal deshpande wrote:How to get current in java?. . . .

Current what? And please read this.
 
Rancher
Posts: 1943
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Report post to moderator
Probably current date.  Not sure if this helps

http://www.java2s.com/Tutorial/Java/0320__Network/UDPTimeClient.htm
 
Saloon Keeper
Posts: 5401
143
Android Firefox Browser Mac OS X Safari Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
You asked the same question at https://coderanch.com/t/702798/java/Obtaining-system-independent-time-date where I responded at length. Don't ask the same question multiple times, and get in the habit of using more descriptive subjects than "Java". I'm closing this duplicate topic.
 
The knights of nee want a shrubbery. And a tiny ad:
ScroogeXHTML - the small and fast RTF to HTML converter library
https://coderanch.com/t/707504/ScroogeXHTML-RTF-HTML-XHTML-converter
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!