TRUNK-4280 Changed the date format in getValueAsString() method of Obs class to get date in yyyy-MM-dd format

TRUNK-4280 | Fixed the @Should in the test
(cherry picked from commit 6ca258db89860c0975f82ab7b94ec476d81b7752)