Источник:
http://daxonline.org/1669-d365---how...ng-c-or-x.html
==============
public static int64 getUnixTime(System.DateTime dateTimeValue)
{
return new System.DateTimeOffset(dateTimeValue).ToUnixTimeSeconds();
}
Источник:
http://daxonline.org/1669-d365---how...ng-c-or-x.html