Re: How to insert date and time into access
You may try this code to insert data and time in MS Access using VB.Net
Dim purchasedatetime As Date = System.DateTime.Now
Str = "Insert into Customer_Order (Order_Date) values (@Order_Date)"
cmd = New OleDbCommand(Str, cn)
'open the connection