With the code below, I can get the current date with Year-Month-Day:
#!/bin/bash now="$(date +\'%Y-%m-%d\')" # ..... # Commands