Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Date Example
//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; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here DateTime x = Convert.ToDateTime("2010-10-23 01:02:45"); DateTime y = Convert.ToDateTime("2010/1/23 1:05 AM" ); Console.WriteLine(x.ToString("yyyy-MM-dd HH:mm:ss")); Console.WriteLine(y.ToString("yyyy-MM-dd HH:mm:ss")); } } }
run
|
edit
|
history
|
help
0
Left circular rotation of an array
JJ 2
DNA FINAL
sum of two array elements
Sum of digits in a string
Testing list
числата от 1 до 20
FINAL PRIME NUMBER GENERATOR IN C#
Execution flow of static and normal constructor of base and derived class.
4.4.20