public void ModifyDate() { DateTime dt; DateTime.TryParse(string.Concat(TbDate.Text, " ", TbClock.Text), out dt); TimeHandler.SetCurrentDateTime(dt); UpdateDateTimeDisplay(); }