BrianBurgit
IS-IT--Management
I have an app that accepts a date as input, in the format of mm/dd/yyyy. I now need to use that date in a query against a SQL Server Table where the date format is yyyy-mm-dd 00:00:00.000. My SQL query converts that date like this - CONVERT(CHAR(10),InventoryDate,120). My question is how do I format the date in VB.NET so that I can plug it into my query?