internal static long DateToTicks(int year, int month, int day) { return(GregorianCalendarHelper.GetAbsoluteDate(year, month, day) * 864000000000L); }