JavaScript last day of the month

I usually don’t do post about simple JavaScript issues, but I figured I might need this solution again and might as well write it down. I am working on a new product called Archibus Web Central. Basically it is a building inventory management tool. The application is made up of an XML and JavaScript Hybrid code. Poor explanation, but not really important to this post. In the project I am working on, I need to determine a start and end date in order to get a range of dates. To make my life simple, I am just using a set Continue reading JavaScript last day of the month

Date Sort in a DataGrid – the easy way

While trying to give suggestions to a post on the Flex Forum, I modified my Simple Data Grid to include a column for a Date. The poster had an issue with sorting the column with dates in it. My guess is, the Date value is actually a String object. It really isn’t very hard to create a Date from a string, just parse out the String and feed the appropriate date times into the Date object. Here is how I create the random date value. Since I insert the value into the item Object as a Date object, the sort Continue reading Date Sort in a DataGrid – the easy way