Elimination of dateParamFormat. Instead, created a method that converts
general datetime in java format to simpledateformat.