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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sfschedule visible dates not precise

Thread ID:

Created:

Updated:

Platform:

Replies:

144311 Apr 30,2019 08:11 AM UTC May 6,2020 01:06 PM UTC Xamarin.iOS 5
loading
Tags: SfSchedule
Anna Gulich
Asked On April 30, 2019 08:11 AM UTC

Hi,

I am using the "VisibleDates" collection of SfSchedule to see what is the range of days that are shown in a Month View. I think that the dates are not exactly precise though. 

As you can see in the attached screenshots, I am showing the month of May 2019, and the first visible date is April 28, and the last visible one is June 8.

Nevertheless the first "VisibleDate" in the collection is 04-27 22:00 (correct if we consider it's in UTC), but the last visible date is 06-07 22:00 (still UTC). This is actually not correct, as it excludes June 8. The correct last visible date should be, in my opinion, 06-08 22:00.



Attachment: visible_dates_4b11bb1c.zip

Sasi Kumar Arumugam [Syncfusion]
Replied On May 1, 2019 06:37 AM UTC

Hi Janis,

Based on the provided information we have checked with the query “SfSchedule visible dates not precise”. In the SfSchedule iOS, visible dates are on UTC format. Adding the time zone offset value (“hh:mm") to get the local time zone time.

Kindly revert us if you have any concern.

Regards,
Sasikumar Arumugam. 


Anna Gulich
Replied On May 1, 2019 07:05 AM UTC

Hi Sasikumar,

Thanks for your explanation, I think I misunderstood the visible dates format before.

Thanks!

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 2, 2019 05:48 AM UTC

Hi Janis, 
 
Thank you for the update. We are happy that the given explanation helps you. 
 
Please get in touch with us if you would require any further assistance.  
  
Regards,
Subburaj Pandian V   


Tuan Nguyen
Replied On May 6, 2020 01:03 AM UTC

Please give code example on how to do this in C#. Do I need to set the TimeZone property in Xaml to UTC?
Thanks.

Muniappan Subramanian [Syncfusion]
Replied On May 6, 2020 01:06 PM UTC

Hi Tuan Nguyen, 
 
Thank you for contacting Syncfusion support.  
 
We have checked your requirement of “Do I need to set TimeZone property to get exact schedule visible dates” in SfSchedule. In the SfSchedule iOS, visible dates are on UTC format. Adding the time zone offset value (“hh:mm") to get the local time zone time. But you don't need to add time zone off set value in Form iOS to get the precise visible dates. You will get the accurate Visible Dates of the Month using the VisibleDates property in the VisibleDatesChanged event in the SfSchedule. We have prepared a simple sample for the same, please find the sample link from below, 
 
 
We hope this helps. Kindly revert us if you have any concern. 
 
Regards, 
Muniappan S. 


CONFIRMATION

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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon