Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Local Time (DateTime)
//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) { TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("Pacific Standard Time"); //TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("US Eastern Standard Time"); //TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time"); //TimeZoneInfo timeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("W. Europe Standard Time"); var issuedDateTime = DateTime.Parse("2016-08-10T00:00:00.0000000"); DateTime newDateTime = TimeZoneInfo.ConvertTime(issuedDateTime, timeZoneInfo); Console.WriteLine(newDateTime); } } }
run
|
edit
|
history
|
help
0
Point in Circle
5
lala
SpawnController
num 1
new
e
Main5.2
Count vowels in a string
adxaxsdc