TO bind date format of epotch date into syncfusion compatible date

in for loop:
 let clsObj ={
         Subject:c.className,
          StartTime:this.sDate,
          EndTime:this.eDate,
          isAllDay:false
        }
clsData.push(clsObj);

public eventData: EventSettingsModel = {
    dataSource: this.dataSource
  }

1 Reply

PM Ponmani Murugaiyan Syncfusion Team January 31, 2022 02:26 PM UTC

Hi Akash, 

We suggest you to check with the serverTimeZoneOffset property. By default, the date value will be processed based on system time zone. If you want to process the initial date value using server time zone then specify the time zone value to serverTimezoneOffset property. 

We would like to inform you that if you provide any predefined values then it will be converted based on the timeZone offset provided. But today date (new Date() or DateTime.Now) will be set based on the client time zone only and it will not depend on serverTimeZoneOffset property. 


Kindly check with the above suggestion meets your requirement, If we misunderstood your query or if you need further assistance, please elaborate your reported query to provide you solution at earliest. 

Regards, 
Ponmani M 


Loader.
Up arrow icon