Assuming you mean
"if the time is more than 30 minutes ago", and assuming you're storing the value in the database as either
datetime
or
datetime2
, then something like this should work:
DateTime lastCompleted = (DateTime)dt.Rows[0]["Last_TimeCompleted"];
lblCompletedLastTime.Text = string.Format("Last Completed at {0}", lastCompleted);
if (lastCompleted.ToUniversalTime().AddMinutes(30) < DateTime.UtcNow)
{
}