mysql date formatting, tweaking input class