hi
i am using OpenCalendarEvent(oScheduleInfo, oEvent, oDialog, oActivity) event for webmonthview but my problem is
i need EndDateTime of activity.but i am not getting the oActivity.getEndDateTime()
only i am getting oActivity.getStartDateTime(), oActivity.getDuration()........... etc
please give me solution how to get EndDateTime of activity when OpenCalendarEvent fired
Hello,
This method isn't provided on the client, as it's a calculated value, however you should be able to simply calculate it yourself using the following code:
endDate.setTime(appointment.getStartDateTime().getTime());
endDate.setMinutes(endDate.getMinutes() + parseInt(appointment.getDuration()));
Hope this helps.
-SteveZ
It works like a charm :)
Thank you !