J
Jon
I am doing the following:
Me.lblDTCompleted.Text = DateTime.Parse(drTemp.Item(_DATECOMP)).ToString +
strTZ
where drTemp.Item(_DATECOMP) is datetime field in SQL server. I want to
display the date correctly formatted for the localized area, but without the
seconds displayed. Using the above correctly formats it, but leaves the
seconds on. How can I format it correctly for the region and remove the
seconds at the same time? I tried modifying my computer's regional settings
to not include seconds, but that did not work. Any solutions? Thanks!
Jon
Me.lblDTCompleted.Text = DateTime.Parse(drTemp.Item(_DATECOMP)).ToString +
strTZ
where drTemp.Item(_DATECOMP) is datetime field in SQL server. I want to
display the date correctly formatted for the localized area, but without the
seconds displayed. Using the above correctly formats it, but leaves the
seconds on. How can I format it correctly for the region and remove the
seconds at the same time? I tried modifying my computer's regional settings
to not include seconds, but that did not work. Any solutions? Thanks!
Jon