Firstly, I am sorry for previous post.
What is the difference between "did you work today" and "have you worked today"?
"Did you work today" - the speaker sees the working day as finished.
"Have you worked today"? - The speaker still considers the day as continuing.
Which is used depends on how the speaker sees things at the moment of speaking.