User:Banaticus/Current time with daylight savings/doc

Usage
The template returns the proper time for your time zone, taking daylight savings into account using the  template which sets when daylight savings starts and stops for your named timezone.

Parameters

 * offset -- this is the "standard" offset for your time zone (your difference from UTC). You can also just pass this parameter as the first parameter.  It defaults to "-8".
 * timezone -- this is your named timezone, identical to that found in the template.  It defaults to "Pacific".
 * format -- the format parameter allows you to set whatever formatting you want. It defaults to "g:ia j M Y".  See the extension for more information.

How to set when daylight savings starts and stops
Edit the template and add the following, replacing the bolded text with information specific to your timezone: | Pacific =
 * Pacific should be replaced by the name of your timezone
 * 2011 should be replaced by the desired year. You may enter as many years into the future as you'd like, with one {{#ifeq:{{time:Y|... for each year.
 * 3.12 should be replaced by the day before daylight savings starts, in the format month.day, with a zero-led day.
 * 11.07 should be replaced by the day after daylight savings stops, in the format month.day with a zero-led day.