aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes current date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "current date " Watch "current date " New topic
Author

current date

Mattew Lee
Greenhorn

Joined: Dec 22, 2010
Posts: 14
Hi,

I would like to have current date displayed on html page - perhaps within a label -- and I want it to be readonly.
I defined a today() function that returns the date.

I don't know how to call this function within a label tag in html.

Cheers,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

Is this in a pure HTML page, or a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mattew Lee
Greenhorn

Joined: Dec 22, 2010
Posts: 14
Bear Bibeault wrote:Is this in a pure HTML page, or a JSP?


Hi,
This one is solved and I marked this thread as a resolved. don't know how to delete it.
Thanks anyway.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

Why would you delete it? Why not help everyone out and post your solution?
Mattew Lee
Greenhorn

Joined: Dec 22, 2010
Posts: 14
Bear Bibeault wrote:Why would you delete it? Why not help everyone out and post your solution?


Sure my friend, why not! I'm new here, so I thought that we must delete the post as soon as it is resolved.

Here we go:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: current date