1

I am using Linux Mint, and while inserting times using Org mode in emacs I noticed, the times inserted are in Eastern Standard Time, America. That was confusing since I am based in India.

After digging around on how to get the system time in Linux I got the commands timedatectl and date, whose output I include below. Notice they are different!

How do I set them right to the time zone in India?

/home/gary/Dr/MyWiki ❯ date                                           
Thu 11 May 2023 02:29:30 PM EDT
/home/gary/Dr/MyWiki ❯                                                
/home/gary/Dr/MyWiki ❯ timedatectl                                   
               Local time: Thu 2023-05-11 23:59:36 IST
           Universal time: Thu 2023-05-11 18:29:36 UTC
                 RTC time: Thu 2023-05-11 18:29:36    
                Time zone: Asia/Kolkata (IST, +0530)  
System clock synchronized: yes                        
              NTP service: n/a                        
          RTC in local TZ: no                         
/home/gary/Dr/MyWiki ❯                                                
8
  • At what time did you run the above commands ?
    – harrymc
    May 11, 2023 at 19:06
  • just before asking May 11, 2023 at 19:17
  • Which of the above times was correct ?
    – harrymc
    May 11, 2023 at 19:22
  • Local time: Thu 2023-05-11 23:59:36 IST May 11, 2023 at 19:23
  • Are you sure your time-zone is correct ? See this answer.
    – harrymc
    May 11, 2023 at 19:30

0

You must log in to answer this question.

Browse other questions tagged .