This function will convert a FileMaker Pro Date value into an SQL Date Format suitable for using in an SQL query.
The FileMaker Pro Date to convert to an SQL formatted Date.
Returns something like: 2010-03-29
CNSQuery_GetAsSQLDate( MyDate )