title: Passing dates to PHP through command line
body: <p>I want to be able to run a script via the command line and pass it a date for a function.</p>
  
  <p>How would I go about doing this? I.e I need to pass it to a function within the file and pass it a typed date in the format. YYYY-MM-DD HH-MM Where the second MM is minutes not Month.</p>
  
  <p>Would I need to use particular flags in the command or is there a simpler way?</p>