How to display local timezone for the files in the SFTP powered by Azure Storage Account

Girish Prabhudesai 61 Reputation points
2024-12-08T18:52:22.29+00:00

We are using Azure storage account to store the files. 3rd party users access these files over SFTP. SFTP service is enabled for the storage account.

When the 3rd party users access the files over SFTP, they see those files in GMT format. The users are in the EST time zone and want it to be displayed in the EST time zone.

How do we achieve this? Please refer to the image below

User's image

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,538 questions
0 comments No comments
{count} votes

Accepted answer
  1. Silvia Wibowo 6,046 Reputation points Microsoft Employee Volunteer Moderator
    2024-12-08T22:47:31.1833333+00:00

    Hi @Girish Prabhudesai , I understand you have enabled SFTP for Azure Storage Account and you want to display file timestamp in local timezone instead of GMT.

    The display of file timestamp depends on your SFTP client. I managed to get the file timestamp displayed in my local timezone by adding -h (human readable) option. My SFTP client is CLI (command line interface) from PowerShell 7 on Windows 11. The command (after you connect to SFTP):

    ls -alh
    

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.