Community discussions

MikroTik App
 
alphastate
just joined
Topic Author
Posts: 23
Joined: Sat Jul 19, 2008 12:54 am

Setting time-zone-name

Sat Jul 19, 2008 1:04 am

I am trying to set up the time and date settings on the RouterOS on a PC, but the documentation is rather incomplete. I enter the command:

system clock set time-zone-name=?

and get "TimeZoneName ::= Africa/Abidjan | Africa/ Accra | Africa/Addis_Ababa | Africa/Algiers | Africa/Asmara | ..."

Ummm... I don't live anywheres near africa. Is there a complete list of all the places that I can use?

Any help would be appreciated.
 
User avatar
sdischer
Trainer
Trainer
Posts: 128
Joined: Wed Jan 26, 2005 4:58 pm

Re: Setting time-zone-name

Sat Jul 19, 2008 4:25 am

Simply find a city in that list that is in the same time zone as you. This is a pretty standard Linux setup. Winbox would be ab easier way to find your time zone.
 
alphastate
just joined
Topic Author
Posts: 23
Joined: Sat Jul 19, 2008 12:54 am

Re: Setting time-zone-name

Sat Jul 19, 2008 11:42 pm

That's my question ... what list? Where is it and how do I access it?
 
alphastate
just joined
Topic Author
Posts: 23
Joined: Sat Jul 19, 2008 12:54 am

Re: Setting time-zone-name

Sun Jul 20, 2008 12:36 am

Forgot about Winbox. I've been doing all the configuring from the RouterOS command line. Let's see ... opening Winbox. There it is in "System > Clock".

Doh!!

Well, as it turns out there aren't any cities on the list too close by, so I entered the information manually. The manual method included the Daylight Savings Time specifics, which is non-conformist in my area.
Thanks for your help anyway.

- Scott
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Setting time-zone-name

Sun Jul 20, 2008 12:48 am

 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Setting time-zone-name

Mon Jul 21, 2008 12:18 pm

I don't understand how you could miss the list :)

here -->
Picture 2.png
EDIT: ok, so you found it :) timezones go vertically, so for Riga for example, I can select Athens. Probably same for you.
EDIT 2: in console typing [?] will only tell you the syntax, with 5 examples. To see all available options, you need to hit [TAB][TAB]
[normis@demo.mt.lv] /system clock> set time-zone-name=
Africa/Abidjan                  America/Merida                  Atlantic/Reykjavik    
Africa/Accra                    America/Mexico_City             Atlantic/South_Georgia
Africa/Addis_Ababa              America/Miquelon                Atlantic/St_Helena    
Africa/Algiers                  America/Moncton                 Atlantic/Stanley      
Africa/Asmara                   America/Monterrey               Australia/Adelaide    
Africa/Bamako                   America/Montevideo              Australia/Brisbane    
Africa/Bangui                   America/Montreal                Australia/Broken_Hill 
Africa/Banjul                   America/Montserrat              Australia/Currie      
Africa/Bissau                   America/Nassau                  Australia/Darwin      
Africa/Blantyre                 America/New_York                Australia/Eucla       
Africa/Brazzaville              America/Nipigon                 Australia/Hobart      
Africa/Bujumbura                America/Nome                    Australia/Lindeman    
Africa/Cairo                    America/Noronha                 Australia/Lord_Howe   
Africa/Casablanca               America/North_Dakota/Center     Australia/Melbourne   
Africa/Ceuta                    America/North_Dakota/New_Salem  Australia/Perth       
Africa/Conakry                  America/Panama                  Australia/Sydney      
Africa/Dakar                    America/Pangnirtung             CET                   
Africa/Dar_es_Salaam            America/Paramaribo              CST6CDT               
Africa/Djibouti                 America/Phoenix                 EET                   
Africa/Douala                   America/Port-au-Prince          EST                   
Africa/El_Aaiun                 America/Port_of_Spain           EST5EDT               
Africa/Freetown                 America/Porto_Velho             Europe/Amsterdam      
Africa/Gaborone                 America/Puerto_Rico             Europe/Andorra        
Africa/Harare                   America/Rainy_River             Europe/Athens         
Africa/Johannesburg             America/Rankin_Inlet            Europe/Belgrade       
Africa/Kampala                  America/Recife                  Europe/Berlin         
Africa/Khartoum                 America/Regina                  Europe/Bratislava     
Africa/Kigali                   America/Resolute                Europe/Brussels       
Africa/Kinshasa                 America/Rio_Branco              Europe/Bucharest      
Africa/Lagos                    America/Santiago                Europe/Budapest     


<######  I have removed most of the list to save space #######> 

You do not have the required permissions to view the files attached to this post.
 
SurferTim
Forum Guru
Forum Guru
Posts: 4636
Joined: Mon Jan 07, 2008 10:31 pm
Location: Miramar Beach, Florida

Re: Setting time-zone-name

Tue Jul 22, 2008 12:11 am

Ahhh! The old "tab tab" trick! Missed it by THAT MUCH!! :wink:
 
alphastate
just joined
Topic Author
Posts: 23
Joined: Sat Jul 19, 2008 12:54 am

Re: Setting time-zone-name

Wed Jul 23, 2008 2:46 am

I missed the list because I was not using Winbox on a Windows PC. I was using the command line interface on the RouterOS, But once I used Winbox, I saw the list.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Setting time-zone-name

Wed Jul 23, 2008 11:01 am

like I said, tab-tab would show you the list also in command line.
 
tahnan
just joined
Posts: 3
Joined: Fri Jun 15, 2012 6:43 pm

Re: Setting time-zone-name

Sat Jun 16, 2012 8:27 am

After rebooting the mikrotik, time configuration is not staying at previous setup. Would you please help to add time zone website in mikrotik so that time do not change and router can synchronize time?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26954
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Setting time-zone-name

Mon Jun 18, 2012 10:39 am

After rebooting the mikrotik, time configuration is not staying at previous setup. Would you please help to add time zone website in mikrotik so that time do not change and router can synchronize time?
RouterBOARDs don't have a battery, so time will be reset after reboot. Use NTP to get time from the internet (or a locally situated NTP server). You can read more about it here:
http://wiki.mikrotik.com/wiki/Manual:Sy ... NTP_client