You have till 11:59:59 PM of that day to send it.
To be in safe-side, try to send by 5:00 PM of the same day.
To get maximum impact of your study, finish the assignment as soon as it is assigned and email it immediately after.