what i want to do is create a site that knows what the time is in your area via your pc clock hopefully and depending on the time puts a different background image up e.g. night time = night picture daytime = sunny daytime pic
The code is not in the ActionScript dictionary I think. There are some examples there of the usage of the Date object though, and explanation on every method the Date object has available. Those should get you on the right track.
you don’t have to depend on the clock to test,
just hardcode the variables value to 10AM, test,
then change to 5PM / midnite, whatever, test,
if everything is ok, go back to the actual code…