﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Adaptive.Arp.Impl.Util
{
    public class TimeUtils
    {
        private static readonly DateTime Jan1st1970 = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);

        private TimeUtils()
        {

        }
        public static long CurrentTimeMillis()
        {
            return (long)(DateTime.UtcNow - Jan1st1970).TotalMilliseconds;
        }
    }
}

Revert "Revert "Privide equivalent to System.currentTimeMillis()""
Revert "Revert "Privide equivalent to System.currentTimeMillis()""

This reverts commit b8eb1cafff8cce827460b4aad68a0fbb6a35cd8a.
