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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

java  RSS feed

 
Ranch Hand
Posts: 39
1
  • 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: 61690
192
  • 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: 1915
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: 5031
134
  • 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.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!