21 lines
496 B
C#
21 lines
496 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using NUnit.Framework;
|
|
using UnityEngine;
|
|
using UnityEngine.TestTools;
|
|
namespace BITKit
|
|
{
|
|
public class DateTimeTester
|
|
{
|
|
[Test]
|
|
public void GetTicks()
|
|
{
|
|
Debug.Log(DateTime.Now.Ticks);
|
|
var time = TimeUtils.GetNow();
|
|
Debug.Log($"long:\t{time}");
|
|
Debug.Log($"int:\t{(int)time}");
|
|
Debug.Log($"float:\t{(float)time}");
|
|
}
|
|
}
|
|
} |