How to insert datetime in sql query by now.tostring

[AttachementValidated_Date_time ] = Format(GETDATE(),‘yyyy-MM-dd’)
Can you try the above