Jump to content

dynamic time in websites


avboy5000

Recommended Posts

I am creating a website for a college newspaper and I was wondering how to place the time on the page and keep it current. What I would like to do is use the time in the following format: Month Day Year XX:XX:XX. and I would like to have the seconds ticking constantly. I have tried everything I know in HTML and I am not yet familier with a lot of the popular scripts but if any one can I help me I would apprechiate it. I would prefer JAVASCRIPT but any thing can help. Thanks

Link to comment
Share on other sites

I am creating a website for a college newspaper and I was wondering how to place the time on the page and keep it current. What I would like to do is use the time in the following format: Month Day Year XX:XX:XX. and I would like to have the seconds ticking constantly. I have tried everything I know in HTML and I am not yet familier with a lot of the popular scripts but if any one can I help me I would apprechiate it. I would prefer JAVASCRIPT but any thing can help. Thanks
There are some tryit yourselfs on this page that should be what you wanthttp://www.w3schools.com/js/js_obj_date.asp
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...