Hi,
Since I posted this, I have revised the way to get such Moon phase without much worrying about potential changes on the source website (timeanddate.com) in the future. I also have 2 other ways to produce a more realistic Moon phase with the right phase orientation as seen from your location. All three methods are described in more details, with downloadable codes, in my blog here:
How to create a Moon Phase with correct phase orientation as seen from your location
Here is the output sample produced by the three methods I mentioned.