Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get todays'date with an HTTP connection ?  RSS feed

 
Francesco Marchioni
author
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
well this question isn't exclusive about Java web tier but it I hope somebody has got an answer for it.
I'd like to read todays's date opening an URLConnection, so
does anybody know if there's a web address that returns todays'
date in any format ?
it's something like a minimal web service, as it's accessed via
HTTP protocol..........

Thanks a lot
Francesco
 
Carl Sampson
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have access to an web container so you could write it yourself? It would be pretty simple to do.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!