Note the two spaces after the emoji moon; it leaves a decent space between prompt and your command.
This is the simplest possible prompt; just a moon phase. You will probably want to incorporate this into something fancier. My .bash_prompt file has its own line for the current path, Git smarts, and more.
Oh and to use - run ./moonPhase.sh yyyy mm dd
where moonPhase.sh is the name of your script!