Use Date constructor that is cross browser compatible.