code: function toModel(oDate) {
  		return {
  			__edmType : "Edm.Time",
  			ms : ((oDate.getUTCHours() * 60 + oDate.getUTCMinutes()) * 60 + oDate.getUTCSeconds())
  				* 1000 + oDate.getUTCMilliseconds()
  		};
  	}
docs: Converts the given Date to a time object.
  @param {Date} oDate
  the date (day, month and year are ignored)
  @returns {object}
  a time object with __edmType and ms