Try the below code,
DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss", DateTimeFormatInfo.InvariantInfo)
The problem is the convert function is using the separator from the Date/Time settings of your machine. The above code should work perfectly.
Mark it as answer if it is helpful