We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

24hour format

Thread ID:





124070 May 13,2016 05:38 AM UTC May 17,2016 07:20 AM UTC Xamarin.Forms 4
Tags: SfSchedule
Asked On May 13, 2016 05:38 AM UTC

I try to set the time format in the weekview for the hours at the left side to 24hour format instead of am/pm.

 <xForms:SfSchedule ScheduleView="WeekView">
        <xForms:WeekLabelSettings TimeFormat="hh"/>
This doesn´t work, do you have any hints? Is it possible at all?


Replied On May 14, 2016 08:16 PM UTC

Hello again,
I forgot to mention that I tried using the Schedule in a XAML page.
When doing the configuration in code behind timeformat = "HH" does the job.

Joy Oyiess Rex  K [Syncfusion]
Replied On May 16, 2016 11:25 AM UTC

Hi Siggi,

Thanks for your interest in Syncfusion products.

We have analyzed your requirement of customizing the TimeFormat of WeekLabelSettings to 24 hours format, in order to achieve this, the value for TimeFormat should be set as “HH”. As WeekLabelSettings is a complex property of WeekViewSettings, it can be represented in XAML as mentioned below,

Code Snippet:
<schedule:SfSchedule x:Name="schedule"  ScheduleView="WeekView" >
            <schedule:WeekViewSettings >
                    <schedule:WeekLabelSettings TimeFormat="HH" />

Please let us know, if you need any further assistance.

Joy Rex. 

Replied On May 16, 2016 12:37 PM UTC

your provided solution works, that was of course my fault.
Thank you very much.

Swathi Gopal [Syncfusion]
Replied On May 17, 2016 07:20 AM UTC

Hi Siggi, 
Thanks for your update. We are glad that your issue got resolved. 
Please let us know if you need any further assistance. 
Swathi G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon