Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
DateTime Parser
//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 var a = DateTime.UtcNow.ToString("u"); Console.WriteLine(DateTime.Now.ToString()); Console.WriteLine(a); var b = DateTime.Parse(a); Console.WriteLine(b.ToString()); Console.WriteLine(b.ToString("u")); } } }
run
|
edit
|
history
|
help
0
Linq Func Action
123
lab
linq by Jean
DateTime and TimeSpan comparisons
Palindrome
money
Punnet Square Generator
Swap 2
Caelum