Example 1: c# date to string yyyy-mm-dd var date_string = date.ToString("yyyy-MM-dd"); Example 2: csharp datetime string format DateTime.Now.
確定! 回上一頁