// Copyright 2018 RED Software, LLC. All Rights Reserved. using System; namespace IgniteEngine { /// /// Class that contains different time functions. /// public class Time { /// /// Represents the current system time in milliseconds. /// public static long Milliseconds => DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); /// /// Represents the current system time in seconds. /// public static long Seconds => DateTimeOffset.UtcNow.ToUnixTimeSeconds(); } }