title: How to get date in a particular format
body: <p>I have been searching on the net on how to get and store the current date in <code>yyyymmdd</code> format. There are many code out there but it formats the dos <code>%date%:%time%</code> output to required specs.</p>
  
  <p>The problem with that is, I need it to work universally across all regional settings. I can't find the code example to do that.</p>
  
  <p>Can anyone help? If this is not possible, then is there a way to change the regional setting temporarily write the file and change it back to what it was?</p>