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.
Customer bill information
ggg
Tree Node Sample
Double Jump and Wall Jump
12
Math 10.9 edited makeMultQ
Stack as a queue
test
Covariance & Contravariance
Timer1
Please log in to post a comment.