Same as previous comment, should just be `dt.ToString("yyyy-MM-ddTHH:mm:ss")`
But to make it consistent, should also change it to:
`m_DateTextBox.Text = ShowTime ? value.ToIsoString() : value.ToString("yyyy-MM-dd");`
(and add using Umbraco.Core)