The first sentence was something a friend posted and it confused me, so I asked her why she wrote it like that while also posting mine, however I haven't got an answer yet, so I thought I'd ask here. Which one is correct if either and why? Also, how do you use dass, I don't really understand that yet.
Friend: Ich hoffe dass euch ein schönen Tag habt.
Me: Ich hoffe dass euch einen schönen Tag haben.