Basically I want to use an object to hold certain dates. For example:
var date {
jan26: 'Today this happened'
};
Then get the current date and put it into a string. For example: var today = 'jan26';
. Then use that to refer to the object property: For example: alert(date.today);
Is there any way to do this?