c# label date format code example
Example: c# label date format
label1.Text = DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss",new CultureInfo("en-US"));
label2.Text = DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss",new CultureInfo("th-TH"));
label1.Text = DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss",new CultureInfo("en-US"));
label2.Text = DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss",new CultureInfo("th-TH"));