Weather comand, real time help

Hello, could you help, I couldn’t figure out how to create a command for requesting weather and time in one place and directory or command, please write an example of which directory to insert it in: usa san francisco! :folded_hands: