Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Test Daylight Savings
//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.Configuration; using System.IO; using System.Web; using System.Web.Hosting; namespace Rextester { public class Program { public static void Main(string[] args) { TimeZoneInfo _myTimeZone = TimeZoneInfo.FindSystemTimeZoneById("Mountain Standard Time"); DateTime x = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow, _myTimeZone).AddDays(1); DateTime y = new DateTime(2018, 03, 11, 10, 00, 00); double min = 0; while (x < y) { Console.WriteLine(x.ToString()); x = TimeZoneInfo.ConvertTimeFromUtc(DateTime.UtcNow.AddMinutes(min), _myTimeZone); min += 20; } } }
run
|
edit
|
history
|
help
0
last ie
Crystals Plep
C# - Integer to Roman
Plt-D v.0.9.2
Testing 006
otro
test using C#2019
equation with a variable on the 2nd power
compiled prog
Four Digit Number