I want to include the date of last data actualization in the notes of a graph. Therefore, I created a local that captures this date. That works quite well, but I'm not with satisfied with the format of the date. I want it to look like "25 May 2021". This is what I have so far:
Code:
local lastupdate : di %tdN/D/CY date_variable[_N] graph twoway connected y_variable date_variable, note("Last Update: `lastupdate'")
I searched the forum for solutions, but I was unable to find an answer to my problem. This is my first post in this forum. So, please forgive me, if I didn't give enough information from the start.
Thank you very much for your help!
0 Response to Formatting Local with Date in Graph Note
Post a Comment