///
///
///
/// 20110122
///
private string ConverterRISDateToValidDate(string orignalData)
{
string result = "";
DateTime dtResult = new DateTime();
bool isRight = DateTime.TryParseExact(orignalData, @"yyyyMMdd", null, DateTimeStyles.None, out dtResult);
if (isRight)
{
result = dtResult.ToShortDateString();
}
return result;
}
///
///
///
/// 13:55.000
///
private string ConverterRISTimeToValidTime(string orignalData)
{
string result = "";
DateTime dtResult = new DateTime();
bool isRight = DateTime.TryParseExact(orignalData, @"HHmmss.fff", null, DateTimeStyles.None, out dtResult);
if (isRight)
{
result = dtResult.ToShortTimeString();
}
return result;
}