Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Download a .NET assembly, and execute a static, parameterless method.
remove duplicates
Homework4
Collections demo
olution to problem #2 from projecteuler.net
6
towers of hanoi
Game 1.0.4
Kumaran - Regex IP Match
Unirest
Please log in to post a comment.