Use This
Convert.ToDateTime(Your String Variable Of Date).ToString(“yyyy-MM-dd ‘T’ HH:mm:ss”)
Regards
Update