Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Custom long date
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Globalization; using System.Threading; namespace Rextester { public class Program { public static void Main(string[] args) { CultureInfo ci = new CultureInfo("es-ES"); Console.WriteLine("Current culture: \"{0}\"\n", ci.Name); //Your code goes here Console.WriteLine("Hello, world!"); Thread.CurrentThread.CurrentCulture = ci; DateTime myDateTime = new System.DateTime(2001, 5, 16, 3, 2, 15); Console.WriteLine("Long date pattern: \"{0}\"", ci.DateTimeFormat.LongDatePattern); Console.WriteLine("Long date string: \"{0}\"\n", myDateTime.ToLongDateString()); Console.WriteLine("Long date string: \"{0}\"\n", myDateTime.ToString("d MMMM yyyy")); } } }
run
|
edit
|
history
|
help
0
Intuit // C# // listing_4.11 (break // ryad Teylora..)
Test
multi variable random number generator
count the occurrence of each distinct item in the array - Seeni
ss
Find the missing number in an array1
d
ashok
Hello World
Simple Selection Sort