Open main menu

Changes

no edit summary
<includeonly>{{JULIANDAY
| {{#invoke:String|replace|source={{{1}}}|pattern= (%d+)/(%d+)/(%d+)|replace=%3|plain=false}}<!--year-->
| {{#invoke:String|replace|source={{{1}}}|pattern= (%d+)/(%d+)/(%d+)|replace=%1|plain=false}}<!--month-->
| {{#invoke:String|replace|source={{{1}}}|pattern= (%d+)/(%d+)/(%d+)|replace=%2|plain=false}}<!--day-->
}}</includeonly><noinclude>

Converts a date in "month/day/year" format to a Julian day, using {{tl|JULIANDAY}}.

Example:

<tt><nowiki>{{MDY to Julian|1/20/2009}}</nowiki></tt> → {{MDY to Julian|1/20/2009}}

[[Category:Date-computing templates]]
</noinclude>
Anonymous user