@maverick17
You will need to pass the date/times as a record to that parameter you want.
So, for example, if you are trying to set the StartDateTime, your formula would be like so:
'MicrosoftTo-Do(Business)',CreateToDo("yourToDoSubject",
{StartDateTime:
{DateTime: DateValue,
TimeZone: "UTC"
}
}
)
Your DateValue above should be UTC. You can use a function that returns a datevalue, like DateAdd, DateTimeValue, Now(), Today(), etc. depending on your needs.
But, the important part is that you need to pass a record with those two properties.
I hope that is helpful for you.