get mysql like date