I am building a simple C # application for Windows Forms. I set my DateTimePicker control when loading into the current DateTime, for example, " 12/11/2013 9:49:49 AM ". Then I use this value in a request to my 400 system, but I get an error because the field I requesting the DateTimePicker Controls value is in the format "YYYYMMDD".
How do I set the value of my DateTimePicker control to "YYYYMMDD" to use it in my request?
source
share