Added the getMySqlDateFormat() function