When using jQuery UI's date-picker, if you call getDate while the text in the text box is not a valid date, getDate returns today's date.

Example

How can I distinguish between today's date and an invalid date when retrieving the date?


Question: How can I surface TFS 2010 project associated Information with SharePoint2010
Answer: You have a whole set of TFS webparts that you can deploy and activate in SP2010. They come with the TFS installation files.

See Extensions for SharePoint Products or Add Integration with SharePoint Products to a Deployment of Team Foundation Server

And this YouTube video for a visual overview of what they provide.