dasPanjo
dasPanjo

Reputation: 63

What is this date and time format?

I was wondering if anyone knows this time-format:

I googled the value and found, that sharepoint is taking this as a parameter too.

Does someone know the format, how to use it or where it's from?

Upvotes: 6

Views: 228

Answers (1)

Dmitrii Bychenko
Dmitrii Bychenko

Reputation: 186668

These dates are represented in ticks:

https://msdn.microsoft.com/en-us/library/z2xf7zzk(v=vs.110).aspx

ticks Type: System.Int64

A date and time expressed in the number of 100-nanosecond intervals that have elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.

e.g. C# code

  long value = 635872032000000000L;

  DateTime result = new DateTime(value);

  Console.Write(result);

Upvotes: 12

Related Questions