never done any javascript. only code stuff i know at all is php.

in a serverside php script that i'm doing, i need to get the user's time somehow - what it is on their computer, in their country for them now.

obviously a client side thing is needed.

so what i'm looking for is a piece of javascript that'll get their time and attach it to the url so i can GET that time when (if) they go to another page, by looking at the end of that url

not really sure how to do the javascript side of it

the way i'm thinking is somehow attaching the time to every same site link somehow? is that possible/feasable? am i thinking along the right sort of lines?

any pointers or ideas really 'preciated (bear in mind - zero javascript knowledge )