How to format date and time in XAML in Xamarin application

前端 未结 4 2133
时光取名叫无心
时光取名叫无心 2020-12-08 13:52

I have a set up XAML code below.



4条回答
  •  孤街浪徒
    2020-12-08 14:05

    Use the standard .NET Date Format specifiers.

    To get

    September 12, 2014 2:30 PM

    use something like

    MMMM d, yyyy h:mm tt
    

提交回复
热议问题