html: how to get system time variable?


New member
I'm trying to get some sort of time variable to use on a web page. it can be either the current time on the server, or the current time on the user's computer (preferable), but it doesn't really matter because in this case the only people viewing the web page will be in the same time zone as the server.
say a list of things updates at a certain time; now i want to have it so that it says how many hours until it updates, so i need some kind of time variable to compare it with.
i can do java script as well.