1
0

TC.cs 468 B

123456789101112131415161718192021
  1. using UnityEngine;
  2. using System;
  3. using ToneTuneToolkit.Common;
  4. namespace Examples
  5. {
  6. /// <summary>
  7. ///
  8. /// </summary>
  9. public class TC : MonoBehaviour
  10. {
  11. private void Start()
  12. {
  13. // TimestampCapturer.Instance.GetNetTimestamp();
  14. long localTimestamp = TimestampCapturer.GetLocalTimestamp();
  15. DateTime dt = DataConverter.ConvertTimestamp2DateTime(localTimestamp);
  16. Debug.Log("Local Date: " + dt + " = " + localTimestamp);
  17. }
  18. }
  19. }