How i can format DateTime in the given format (7/24/13, 11:24 AM), I found an option to format the string in similar manner [Text="{Binding CreatedDate, StringFormat={0:g}}"], But I cannot add (",") comma in between date and time. How i can do this in windows phone. Currently with the string format i am getting the date like this (7/24/13 11:24 AM).
<TextBlock Text="{Binding Date, StringFormat='{}{0:MM/dd/yyyy, h:mm tt}'}" />
will give you
08/22/2013, 11:52 AM
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With