TimeSpan utcOffset = localZone.GetUt cOffset(DateTim e.Now);
MessageLabel.Te xt = utcOffset.ToStr ing( ); // returns -06:00:00
Instead of -06:00:00 I want -06:00.
Apparently the custom formatter should be 0:zzz but I can't figure out the
correct String.Format grammar to get the desired result.
Can you?
<%= Clinton Gallagher
MessageLabel.Te xt = utcOffset.ToStr ing( ); // returns -06:00:00
Instead of -06:00:00 I want -06:00.
Apparently the custom formatter should be 0:zzz but I can't figure out the
correct String.Format grammar to get the desired result.
Can you?
<%= Clinton Gallagher
Comment