I have a string \"11/15/2013 08:00:00\", I want to format it to \"11/15/2013\", what is the correct DateTimeFormatter pattern?
11/15/2013 08:00:00
11/15/2013
DateTimeFormatter
Please try to this one
public void Method(Datetime time) { time.toString("yyyy-MM-dd'T'HH:mm:ss")); }