title: Conversion of SAS Macro Variable to time stamp
body: <p>I am trying to convert SAS Macro variable to timestamp and stumped while conversion. The code which I am using is given below.</p>
  
  <pre><code>%let date = '03/15/2013';
  %put %sysfunc(inputn(&amp;date,datetime26.6));
  </code></pre>
  
  <p>Error which I am getting is </p>
  
  <blockquote>
    <p>WARNING: Argument 1 to function INPUTN referenced by the %SYSFUNC or
    %QSYSFUNC macro function is out of range. NOTE: Mathematical
    operations could not be performed during %SYSFUNC function execution.
    The result of the operations have been set 
          to a missing value.</p>
  </blockquote>
  
  <p>Please let me know if someone knows answers to this.</p>