TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: joelw135 on November 09, 2003, 10:53:22 AM

Title: Changing the time for different city.
Post by: joelw135 on November 09, 2003, 10:53:22 AM
How would I change the New York clock to a Los Angeles clock. I have looked at all the notes that others posted but still lost. Below is the code I have.  I want to change the second clock, that is now New York. Thanks

image, 14,11,analogclock.png,t
analogclock,29,27,hourhand.png,minutehand.png,tr
text,29,0,local,c
time,29,42,-1,5,c,ddd, h:mm tt

image,59,11,analogclock,png,t
time,74,27,4,analog,hourhand.png,minutehand.png
text,74,0,[name],c
time,74,42,4,2,c

image,104,11,analogclock.png
time,119,27,5,analog,hourhand.png,minutehand.png
text,119,0,[name],c
time,119,42,5,2,c
Title: Changing the time for different city.
Post by: rbg08 on November 09, 2003, 03:41:25 PM
From the code you listed:

time,29,42,-1,5,c,ddd, h:mm tt

the third number in the time command is the timezone indicator.  "-1" = your PPC's system clock timezone defined under Start>Settings>System>Clock.  Positive numbers in this field reference to timezones definded in your config.txt file.  Look in your config.txt file in the TodayPlus directory and see if you already have Los Angeles defined.  It would look similar to this:

time,1,4,Los Angeles:

In this example, Los Angeles' timezone is defined by the number "1" (first numbered field).  Now go back to your skin file and find the clock you want to change to Los Angeles time:

image,59,11,analogclock,png,t
time,74,27,4,analog,hourhand.png,minutehand.png
text,74,0,[name],c
time,74,42,4,2,c


The third number in both time commands should be changed from "4" to "1" in order to display Los Angeles time instead.
Title: Changing the time for different city.
Post by: joelw135 on November 09, 2003, 07:00:29 PM
Thank you very much, I ceecked in my config file and LA was a 2.  As you directed I changed it and WaLa it worked.  This should be in the FAQ, I am sure others will ask the same thing.
Title: Where do i find data for any given city reg time ?
Post by: Jorn on November 19, 2003, 06:15:53 AM
Hi,

how do i change one of the clocks to e.g. time in Dubai ?

Where do make the necessary changes and where do i find the needed specific data for e.g. dubai  ?

Regards Jorn