For my Java to C# conversion project, I need to use something equivalent to Java's
Calender class. I have some codes like:
Calender cal = Calender.getInstance(); long time = Calendar.getInstance().getTime().getTime(); long time2 = System.currentTimeMillis();
which returns some random values at different times. I have come to know C-sharp's
DateTime is the closest to this
Calender class, but DateTime's Tick property does not give exactly the similar result.
What will be my required code snippet here to get my desired output?