Unless you have a property in your DataContext
called Now
, your Bindings
will fail. Instead, you should be using the {x:Static}
syntax like so:
Since DateTime
isn't in the standard XAML namespace, you need to add a xmlns declaration to the root element: