Показать сообщение отдельно
Старый 25.11.2019, 14:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
a33ik: D365 - How to convert DateTime value to Unix DateTime using C# or X++?
Источник: 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