Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 When not to use this template  





2 Syntax  





3 TemplateData  





4 Use in microformats  



4.1  Limitation  





4.2  Example  







5 See also  














Template:Start date






Afrikaans
ak:Nhwɛsode:Start date
Ænglisc
العربية
ܐܪܡܝܐ
Armãneashti

Asturianu
Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Башҡортса
Беларуская

Bikol Central
Bosanski
Буряад
Català
Cebuano
ChiTumbuka
Cymraeg
Dansk
الدارجة
Eesti
Ελληνικά
Esperanto
Euskara
فارسی
Føroyskt
Français
Gaeilge
Gàidhlig
Galego

/Hak-kâ-ngî

Hausa
Հայերեն
ि
Bahasa Hulontalo
Igbo
Ilokano
Bahasa Indonesia
IsiZulu
Íslenska
Italiano
עברית
Jawa


Қазақша
Kiswahili
Kurdî
Кыргызча

Lietuvių
Magyar
ि
Македонски

مصرى

Bahasa Melayu
Minangkabau
 / Mìng-dĕ̤ng-nḡ
Mirandés
Монгол



Norsk bokmål
Norsk nynorsk
Occitan
ି
Oʻzbekcha / ўзбекча


Tok Pisin
Português
Română
Русский
Саха тыла


Scots
Sesotho sa Leboa
Shqip

Simple English
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Suomi
Svenska
Tagalog
ி
Taqbaylit
Татарча / tatarça
 


Тоҷикӣ
Türkçe
Türkmençe
Українська
اردو
Tiếng Vit
Winaray



 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This purpose of the {{start date}} template is to return the date (or date-time) that an event or entity started or was created, and to do so in a standard format. It also includes duplicate, machine-readable date (or date-time) in the ISO date format (which is hidden by CSS), for use inside other templates (or table rows) which emit microformats. It should be used only once in each such template and never used outside such templates. The hidden date degrades gracefully when CSS is not available.

When not to use this template

Do not use this template for:

Syntax

Examples

An optional parameter, df, can be set to "y" or "yes" (or indeed any value) to display the day before the month. The order of parameters does not change (it remains YMD). This is primarily used in articles using DMY format for dates.

Examples

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Start date in articles based on its TemplateData.

TemplateData for Start date

Date that an event or entity started or was created

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
YYYY1

start year

Numberoptional
MM2

start month

Numberoptional
DD3

start day of month

Numberoptional
HH4

start hours

Numberoptional
MM5

start minutes

Default
0
Numberoptional
SS6

start seconds

Default
0
Numberoptional
TZ7

time zone offset, “+02:00”, “-06:00” or “Z” for UTC

Lineoptional
day firstdf

boolean parameter to put the day before the month name

Default
false
Lineoptional
month firstmf

mf=yes: order mm-dd-yyyy (=the default order)

Default
yes
Stringdeprecated

Use in microformats

This template also returns the date, hidden by CSS, in the ISO 8601 format needed by one or more of the following microformats:

usually, but not always, within infobox or similar templates, or tables.

Its use in hCard is for organizations, venues and similar; use {{Birth date}}or{{Birth date and age}} for people.

Similarly, {{End date}} returns the date as hCalendar's (class="dtend").

See the microformats project for further details.

Limitation

This template has no provision to deal with a date in a non-Gregorian calendar. Also, ISO 8601 requires mutual agreement among those exchanging information before using years outside the range 1583–9999 CE. Therefore, use of this template for non-Gregorian dates or dates outside that range constitutes a false claim of conformance to the ISO 8601 standard.

Any editor encountering such usage should change the date to plain text with no template; or if not confident in doing so, raise the matter on this template's talk page.

Example

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Start_date&oldid=1203900727"

Categories: 
Date mathematics templates
Templates generating hAtom
Templates generating hCalendars
Templates generating hCards
Hidden categories: 
Wikipedia template-protected templates
Templates not safe for use in citation templates
Templates using TemplateData
Test cases using output parameter
 



This page was last edited on 5 February 2024, at 22:23 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki