The reason the date is not in the output is because you didn't include a date column in your SELECT statement.
If you want to include the date in the output, you'll need to add a column that contains the date to your SELECT statement. For example, if you have a column named "created_at" or "date" in your mainWorkSpace table, you can add it to your SELECT statement like this:
SELECT task, status, id, created_at FROM mainWorkSpace WHERE user_id = @user_id
This will include the created_at column in the output of your query.
🤷 Gpt, first try. I don't know what you asked.