File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How to get todays'date with an HTTP connection ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to get todays Watch "How to get todays New topic

How to get todays'date with an HTTP connection ?

Francesco Marchioni
Ranch Hand

Joined: Sep 22, 2003
Posts: 194
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

Enterprise Integration Tutorials - JBoss-WildFly Tutorials
Carl Sampson

Joined: Apr 09, 2003
Posts: 22
Do you have access to an web container so you could write it yourself? It would be pretty simple to do.
I agree. Here's the link:
subject: How to get todays'date with an HTTP connection ?
It's not a secret anymore!