/// <summary> /// Method Name : GetDateForDiplay /// Author : Vivek Bhavsar /// Creation Date : 23 Jan 2018 /// Purpose : sub method to set dates as per require format for estimate /// Revision : /// </summary> /// <param name="date"></param> /// <returns></returns> private string GetDateForDiplay(string date) { string dateValue = string.Empty; if (!string.IsNullOrEmpty(date)) { DateTime datetime = UtilityPCL.ConvertDateTimeInUSFormat(date); if (datetime != DateTime.MinValue) { dateValue = UtilityPCL.DisplayDateFormatForEstimate(datetime, Resource.MMddyyyyDateFormat); } } return(dateValue); }