title: Windows prompt: ISO 8601 date?
body: <p>How do I set the command line prompt in Windows to display
  current <a href="http://en.wikipedia.org/wiki/ISO_8601" rel="nofollow noreferrer">ISO 8601</a> date and time (e.g. 2009-09-08T13:01:56)
  instead of the default of current directory?</p>
  
  <p><strong>Update</strong>. Set it by:
  right click My Computer/Properties/tab Advanced/Environment Variables/System Variables/New/
  Variable name=PROMPT and Variable value=$DT$T $P$G /OK/OK/OK.
  Regional settings must be set such that "Time format" is
  "HH:mm:ss" and "Short date format" is "yyyy-MM-dd".</p>