The knowledge base says
'The metadata object contains the familiar "wired" fields from the
metadata pane of an edit screen for metadata-aware objects. Most
take a String - with the exception of the date fields, which take a
long-formatted date String - of the format CCYY-MM-DDThh:mm:ss,
such as 2006-06-25T17:15:33, which would be 5:15:33pm on 25 June,
2006 (more information here: http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#dateTime).'
After looking over my code I found a programing error after
correcting it the string as specified above worked.
I used the jquery ui date selector then just appended the date
string with . 'T12:00:00:00'