0

I have a binding text that comes as a UTC time string, I need to convert the time.

The Binding Context item itself is an object from JSON converted with Newtonsoft Json.NET.

<Label Text="{Binding UTCtime}"/>

1 Answers1

0

You will need to implement IValueConverter and bind to that rather than directly to the source value.

There is a good example here: Displaying the time in the local time zone in WPF/XAML

Pierce
  • 143
  • 10