public static fromUtcFromDate ( string utcFrom ) : string | ||
utcFrom | string | |
Результат | string |
internal string buildChemHemSpecimensScreenParam(string fromDate, string toDate, string pieceNum) { if (fromDate == "") { return(""); } fromDate = VistaTimestamp.fromUtcFromDate(fromDate); toDate = VistaTimestamp.fromUtcToDate(toDate); return("S FD=" + fromDate + ",TD=" + toDate + ",CDT=$P(^(0),U," + pieceNum + ") I CDT>=FD,CDT<TD"); }
public static string buildFromToDateScreenParam(string fromDate, string toDate, int node, int pieceNum) { if (fromDate == "") { return(""); } DateUtils.CheckDateRange(fromDate, toDate); // Need test for valid dates. fromDate = VistaTimestamp.fromUtcFromDate(fromDate); toDate = VistaTimestamp.fromUtcString(toDate); return("S FD=" + fromDate + ",TD=" + toDate + ",CDT=$P(^(" + node + "),U," + pieceNum + ") I CDT>=FD,CDT<TD"); }