Show Date time in xaml

The following is the small example for displaying current datetime in XAML.
In XAML you need to first add the mscorlib assembly and the System namespace, then you can use use the {x:Static sys:DateTime.Now} in your code like this:

<Window x:Class="MainWindow"
    Title="MainWindow" Height="279" Width="454">
        <TextBox Height="20" Text="{Binding Source={x:Static sys:DateTime.Now}, StringFormat='dd/MM/yyyy hh:mm tt'}" />

You can use the string format to display the datatime in various format.
Suppose if you want to show date in long form you can use the following code:

Text="{Binding Source={x:Static sys:DateTime.Now}, StringFormat='D'}"