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.
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
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
Hi Radhika,
Do you still need assistance with this case? Did you find useful the information from our last post?
-Sergio
Thanks for your support Sergio.
Hi Radhika,
No problem, we're here to help. If you need further assistance don't hesitate to contact us again.
-Sergio
For more complete information about compiler optimizations, see our Optimization Notice.