Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Contributor I
933 Views

Regarding IST time zone

Jump to solution

Hi,

I need IST time zone and I used the command hwclock ,I'm getting the time in UTC ,can I change the format of time zone from UST to IST. I have tried changing from the directory below

cd usr/share/zoneinfo/Asia

I live in India but there are no options there,our difference in time is GMT+5.30 ,how can we set the timezone according to our time.Tried some C programs to convert but its not reflecting.How to convert the timezone from UTC to Indiana.?? Thanks in advance.Please do needful.

Thanks and Regards,

Radhika.


Accepted Solutions
Community Manager
46 Views

Hi Radhika,

 

 

Thank you for contacting us. To get the Indian timezones you need to download an additional package from AlexT's repo. First, follow these instructions to setup fetching packages from the repo http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html . Run opkg update to communicate with the repo. Then, you should download the package that includes the Asian timezones. To download and install it type "opkg install tzdata-asia". After this, you should see an "Indian" folder inside /usr/share/zoneinfo directory. There you can see the different options for Indian timezones. When you decide which timezone you wish to configure on your Edison simply change the /etc/timezone file to include this new time zone.

 

 

Vi /etc/timezone

 

Indian/

 

 

Save and quit.

 

 

Then, run the command export TZ=Indian/

 

 

Let us know if this works for you.

 

 

-Sergio

 

View solution in original post

0 Kudos
4 Replies
Community Manager
47 Views

Hi Radhika,

 

 

Thank you for contacting us. To get the Indian timezones you need to download an additional package from AlexT's repo. First, follow these instructions to setup fetching packages from the repo http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html . Run opkg update to communicate with the repo. Then, you should download the package that includes the Asian timezones. To download and install it type "opkg install tzdata-asia". After this, you should see an "Indian" folder inside /usr/share/zoneinfo directory. There you can see the different options for Indian timezones. When you decide which timezone you wish to configure on your Edison simply change the /etc/timezone file to include this new time zone.

 

 

Vi /etc/timezone

 

Indian/

 

 

Save and quit.

 

 

Then, run the command export TZ=Indian/

 

 

Let us know if this works for you.

 

 

-Sergio

 

View solution in original post

0 Kudos
Community Manager
46 Views

Hi Radhika,

 

 

Do you still need assistance with this case? Did you find useful the information from our last post?

 

 

-Sergio

 

0 Kudos
New Contributor I
46 Views

Thanks for your support Sergio.

0 Kudos
Community Manager
46 Views

Hi Radhika,

 

 

No problem, we're here to help. If you need further assistance don't hesitate to contact us again.

 

 

-Sergio

 

0 Kudos