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

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: 62806
203
  • 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: 1926
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: 5220
143
  • 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.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!