How to get StartTime and EndTime from an event from an Android calendar ? I use this code to get all event data, but it gives me StartDate and EndDate , but I need Date + Time both Start and End . here is the code
CalNames[i] = "Event" + cursor_event.getInt(0) + ": \nTitle: " + cursor_event.getString(1) + "\nDescription: " + cursor_event.getString(2) + "\nStart Date: " + new Date(cursor_event.getLong(3)) + "\nEnd Date : " + new Date(cursor_event.getLong(4)) + "\nLocation : " + cursor_event.getString(5);
source share