Wikipedia talk:WikiProject Current Local City Time

Welcome to Wikipedia's  Current Local City Time (CLCT) or  Current City Time (CCT) Project

Template
I've made a template to do this, currenttime where you can put to get this:

I've also fixed it to update the date correctly depending on the timezone. Unfortunately, &lt;ref&gt; tags don't work through templates so I've taken them out. Tra (Talk) 02:42, 14 January 2007 (UTC)


 * I'm just learning a lot about this programming. I spent the last several hours on making this time stamp:    (EDT). Thank you for your work. I'll read into it after my rest! Goodnight. --CyclePat 06:14, 14 January 2007 (UTC)

Review of Programs

Well there is definatelly some good work that we have done here. Thank you Tra! For those of you interested in learning about date and time this is how I started. I used these basic codes:

Example 1
 * Monday, July 29, 2024,

The problem was that it wasn't the correct time for my region. So, I then moved on to fidling around with parser codes such as. I got to the point where I ended up using large parser functions. Example 2 shows these function being used with calculations and sub-templates such as template:Current daylight saving offset in North America. Example 2 also shows the yesterdays date and time in Ottawa either 24 hours ago EST or 29 hours ago according to UTC.

Example 2

(EDT)

Example 3 - Output of code from Example 2
 * (EDT)

You may notice that the above time is calculated through several other templates we use from User:Ed Poor/yesterday and template:Current daylight saving offset in North America. You will also notice that this programming is not as efficient as the because it is missing a easy way to imput the time zone delay. Furthermore, though our planet only has an offset zone of 12+ or 12-, this equation is limited to going back only one day (23 hours)! (ex.: Day --> Sunday to Saturday, Date --> 15 to 14, ONLY). This formula or possible future template will work but needs improvements. It can obviously be use by manually imputing the offset time in each section, however, this template, code example 2, by me CyclePat should be improved before we decide to use it within the CCT project. But why improve it when we have the fine work by Tra.

The template by Tra is ideal to move on to the next steps. Here is an example of the template:currenttime offset for Ottawa:

Example 4 - Output of Tra's Currenttime template

Further testing of the time with an offset of -59 hours and a location called "Nowhere on earth" gives good results:

Example 5 - Output Test -59 hours, place=Nowhere on earth

Wow! Nice! Now if only I knew what Tra meant by &lt;ref&gt; tags? Thank you Tra. --CyclePat 20:45, 14 January 2007 (UTC)


 * By &lt;ref&gt; tags, I mean that the example you used in the Ottawa article contained a footnote at the bottom of the page with a link to purge the article. The problem is that footnotes don't work properly through templates so I had to take them out. The main problem now is that there needs to be some way of purging the page with the time on it regularly, because if it is left for more than a few minutes, the time generated would become useless. Tra (Talk) 21:16, 14 January 2007 (UTC)

Template reference and purging
Okay, I figured out the reference tag problem by looking at your first programming. I noticed that we attempted to add the Is this a reasonable idea? I think it would be great to work off of information that already exists. Additionally a link could be something like "incorrect?" or "edit", and it would allow you to add an additional offset, just in case the auto-generated value is incorrect. I hope to hear from you guys! -- Tkgd2007 (talk) 14:55, 11 April 2008 (UTC)
 * Hi Tkgd2007, the project prety much died off a while ago because I was having trouble formating the info box templates. I like your idea it brings an interesting twist which could work. Again though, it was dificult to implement this idea because some pages had mistakes. Those mistakes would cause a disruption to the format of a hanful of cities... though the concept worked for more than 10000 cities, it still disrupted about 10 cities and was enough to make this a significant uproar, virtually cancelling the "first idea". The delivery at the time wasn't so good either because it would put the time directly on the page. After that, I was a little despair of having to re-write another plan but some, perhaps, perfectly viable solutions have been discussed on the talk page. If we could somehow manage to put the time in the city box or better yet under the "coordinates" section that might work. Another solution instead of placing the time on each city was to place the time on the UTC page itself... for example UTC-5. Finally, I was able to generate a list of cities using a special software for wikipedia which found all the article that linked to UTC-5. However that list is on my user page (a link can be found on the talk page of this project). Ultimatelly, I would like to see the time displayed on each city or geo zone. However the second option I proposed may be implemented quite easily with less possibility of disruption. Whatever the decision, if you're willing to work on this, we could most likely do it together. That would essential revive this project!! --CyclePat (talk) 19:35, 12 April 2008 (UTC)

If this project isn't quite dead, I'd be interested in helping. 69.130.177.68 (talk) 12:12, 18 June 2008 (UTC)

Me, too. RJM (talk) 12:13, 18 June 2008 (UTC)

Time
Why is my wikipedia time one hour slow?--Andrzejestrować ZP Pbjornovich (talk) (contributions) (email) 07:24, 1 September 2008 (UTC)

Spanish text
The page contained a lot of text in Spanish, probably written at the wrong place, I could have translated it into English, but it did not seem to be worth it as it was not about the subject of the page. If someone can find out where it was intended to be written and move it there, I would not mind to fix the spelling. Nlemslu Phlyshi (talk) 20:32, 30 June 2011 (UTC)

Current
So far I've got template:Local time and template:Local current time for time only. ★BrandonALF★ talk edits

Being tested on Toronto ★BrandonALF★  talk edits

Am testing on Kampala WASIGE paul (talk) 10:12, 9 February 2018 (UTC)