Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Tarkov Time
//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; namespace Rextester { public class Program { public static void Main(string[] args) { DateTime now = DateTime.Now.ToUniversalTime(); //DateTime start = DateTime.SpecifyKind(new DateTime(2017,6,1,17,30,0), DateTimeKind.Utc); DateTime start = DateTime.SpecifyKind(new DateTime(2017,6,1,18,57,0), DateTimeKind.Utc); //DateTime tarkovStart = new DateTime(2017,6,1,22,30,0); DateTime tarkovStart = new DateTime(2017,6,2,2,22,0); TimeSpan tarkovTimePassed = new TimeSpan((long)((now-start).Ticks*2.5)); DateTime tarkovTime = tarkovStart + tarkovTimePassed; Console.WriteLine("Tarkov Time: "+tarkovTime.ToString("HH:mm")); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Interface
string concat
Hexagon Tringle
edmond@DESKTOP-M2BC2LH
5
IEqatable simple object compare
Chest Interaction Unity
How to Count Occurrences of a Word in a String (LINQ) (C#)
Binary Hex Decimal Systems
file hasher
Please log in to post a comment.