RcBuilder@walla.com
call centre: 054-5614020

unix date ToUNIXTime

Posted by: RcBuilder  /   Category: DateTime / Extensions / SOURCE CODE   /   1 Comment
24
Jun
2014

unix date - ToUNIXTime extension unix time represents the number of seconds since 01/01/1970 double ToUNIXTime internal static class Extensions { public static DateTime ToUNIXTime(this double me) { // UNIX Time based on the number of seconds from 01.01.1970 return new DateTime(1970, 1, 1).AddSeconds(me); } DateTime ToUNIXTime public static double ToUNIXTime(this DateTime me) { // UNIX Time based on the number of seconds from 01.01.1970 TimeSpan ts = me - new DateTime(1970,.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים