c# - JavatoC#(Timestamp) -


I have this code in java and i want to convert it to c #. Please help me

  Public Virtual Timestamp getMinProstyTimeStamp (string sCurFFieldName, string sWellName) {timestamp tsMinDate = new timestamp (0); // If the name of the area has not changed, there is no need to recreate qds (sFieldName.ToLower (). Equals (sCurrFieldName)) {createQdsWellAlias ​​(sCurRFieldName); } QueryDataSet qds = getQdsWellAlias ​​(sWellName); If (! Qds.Empty) {tsMinDate = qds.getTimestamp ("MINDATE"); } Return tsMinDate; }  

You can use TimeSpan like this:

  timspain ts = timespan.en value;  

Comments