Show time and date in the terminal. You can show the time and date on the right side of the terminal. You should have a ZSH shell and oh-my-zsh to use this.
Add this into ~/.zshrc
above source ~/.zshrc
line for ZSH shell to show time & date on the right side of the terminal.
RPROMPT='${ret_status}%{$fg[green]%}~ %{$fg_bold[black]%}$(git_prompt_info)%{$bg[yellow]%}%{$fg[black]%} %D{%a, %f %b %Y} %{$bg[red]%}%{$fg[white]%}%D{ %L:%M:%S %p} % %{$reset_color%}'