K
Kevin Frey
Our database stores all date-time values in UTC format. When I display this
data in a GridView (using a HyperLinkField) I'd like to display the
equivalent local-time instead.
It seems to me that this would have been trivially easy if there was a
formatting string that would make the conversion prior to formatting. But
alas there appears to be no such capability.
Without this approach, I'm not sure where I would inject the "ToLocalTime"
conversion.
Can anyone suggest how to do this?
data in a GridView (using a HyperLinkField) I'd like to display the
equivalent local-time instead.
It seems to me that this would have been trivially easy if there was a
formatting string that would make the conversion prior to formatting. But
alas there appears to be no such capability.
Without this approach, I'm not sure where I would inject the "ToLocalTime"
conversion.
Can anyone suggest how to do this?