Assigning entered times to marks that are colour coded for time frame
I am trying to find out if at all possible how I would go about being able to assign a date and time to a marker placed on google maps through a form function. This will then display that on the marker but also with a color coded time frame. So when this info is added to the marker, when it is moused over say 1hr later it would state the number of mins or hrs ago it was entered and also be the colour assigned to the time, for example if the color yellow was for less than 2hrs ago then the marker will be yellow if it becomes 6hrs later then it will be a different color and so on. Does this make sense, and is it possible? Just need some help and ideas. I am guessing will need to use some sort of looping, and variable coding?? Any input would be appreciated. Thanks