Jump to content
MakeWebGames

Clock Server time with live seconds


HITMAN 17

Recommended Posts

Javascript.

Have PHP send a variable to JS, that holds the current time. Simply update the time by incrementing seconds.

Ps. Unix timestamps are the best to work with, as it's displayed in seconds already.

JS includes the functionality to convert to readable date/time.

Edited by Spudinski
Link to comment
Share on other sites

There is a great website which will help you with this...

 

http://www.google.com

Excuse me if I'm wrong, but isn't this a development discussion forum? Where people help and/or sometimes assist other fellow developers to achieve the results desired of an OP?

If technical discussions weren't needed, then why doesn't all forums like this just simply redirect to Google?

Link to comment
Share on other sites

Its already been done and I mean a lot. So why do it again?

Not exactly cutting edge or even close when you look at it development wise is it.

People dont even bother to look they just post can someone do this for me as I ....

1. Cannot be bothered to look

2. Cannot be bothered to try myself as that would involve learning

Link to comment
Share on other sites

As Spudinski already said...

Excuse me if I'm wrong, but isn't this a development discussion forum? Where people help and/or sometimes assist other fellow developers to achieve the results desired of an OP?

If technical discussions weren't needed, then why doesn't all forums like this just simply redirect to Google?

@Hitman: Try and look up the functions that Spudinski posted in his original reply. If you have trouble after trying to piece it together yourself, post your attempt and well try to guide you further.

Link to comment
Share on other sites

Spundinski is right, but so is rulerofzu.

These forums are here to help out users when they are stuck, or to discuss certain situations and what not else. But these forums aren't here for "I need this, can you do it for me while I absolutely do no effort on my part at all." If you need something done that is not really specific to anything, like what has been requested here, a simple google search will result in 100s of results that just need a copy and paste basically... Sure you can ask questions, and you'll get an answer like Spudinski has done here, but with that information you should be able to get somewhere. If you're unsure, ask some more information and show what you're trying to do, but the quote:

exactly any chance you could do me a code sudinski as i cant seem to find a code mate
doesn't really belong here...
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...