Create a to-do
The following code sample will create a to-do (task ID = 6) due at the end of the current day. It applies to associate with ID 1.While the to-do technically doesn’t have a start time, that field will be set with a default value. For example, noon the current day. Don’t assume that the start time is empty.