Command for telling the date

Can anyone tell any command that identifys the date in the game

Like if its 20th june then it gives a reward something like that

print(os.date())