Made parseDate a static method.

Did this so it can be used by external scripts.