title: How to get current date and timezone of sftp server (date command is not working)
body: <p>I have an sftp server which I used to login using linux terminal using following method:</p>
  
  <blockquote>
    <p>sftp username@ipofsever</p>
  </blockquote>
  
  <p>There are files with datename, I just wanted to know the current date &amp; time and timezone of the sftp server.
  The output of <strong><em>date</em></strong> command is :</p>
  
  <pre><code>sftp&gt; date
  Invalid command.
  sftp&gt; 
  
  </code></pre>
  
  <p><em>How can I see the current datetime on the server.</em></p>