private void FillSequenceTimeTextboxes() { DateTime currentTime; currentTime = viewModel.GetFirstDateTime(); txtNewStartDate.Text = currentTime.Date.ToString("yyyy-MM-dd"); txtNewEndDate.Text = currentTime.Date.ToString("yyyy-MM-dd"); txtNewStartTime.Text = currentTime.TimeOfDay.ToString(); txtNewEndTime.Text = currentTime.TimeOfDay.ToString(); }