Template:Convert date to: Difference between revisions
(Created page with "{{#switch: {{{1}}} | SH = {{#switch: {{Last word|{{{2}}}}} | HA = {{شماره به فارسی|{{#expr: ceil( {{Remove last word|{{شماره به انگلیسی|{{{2}}}}}}} / (1431/(1387+(6*31+2*30+26)/365.24219878)) ) }} }} | AD = {{شماره به فارسی|{{#expr: {{Remove last word|{{شماره به انگلیسی|{{{2}}}}}}} - 622 }} }} | }} | HA = {{#switch: {{Last word|{{{2}}}}} | SH = {{شماره به فارسی|{{#expr: floor( {{Remove last word|{{شم...") |
No edit summary |
||
Line 2: | Line 2: | ||
| SH = | | SH = | ||
{{#switch: {{Last word|{{{2}}}}} | {{#switch: {{Last word|{{{2}}}}} | ||
| HA = {{ | | HA = {{Number in English |{{#expr: ceil( {{Remove last word|{{Number in English |{{{2}}}}}}} / (1431/(1387+(6*31+2*30+26)/365.24219878)) ) }} }} | ||
| AD = {{ | | AD = {{Number in English |{{#expr: {{Remove last word|{{Number in English |{{{2}}}}}}} - 622 }} }} | ||
| | | | ||
}} | }} | ||
| HA = | | HA = | ||
{{#switch: {{Last word|{{{2}}}}} | {{#switch: {{Last word|{{{2}}}}} | ||
| SH = {{ | | SH = {{Number in English |{{#expr: floor( {{Remove last word|{{Number in English |{{{2}}}}}}} * (1431/(1387+(6*31+2*30+26)/365.24219878)) ) }} }} | ||
| AD = {{ | | AD = {{Number in English |{{#expr: floor( ({{Remove last word|{{Number in English |{{{2}}}}}}} - 621.5) * (1431/(1388+(6*31+2*30+26)/365.24219878)) ) }} }} | ||
| | | | ||
}} | }} | ||
| AD = | | AD = | ||
{{#switch: {{Last word|{{{2}}}}} | {{#switch: {{Last word|{{{2}}}}} | ||
| SH = {{ | | SH = {{Number in English |{{#expr: {{Remove last word|{{Number in English |{{{2}}}}}}} + 622 }} }} | ||
| HA = {{ | | HA = {{Number in English |{{#expr: ceil( {{Remove last word|{{Number in English |{{{2}}}}}}} / (1431/(1388+(6*31+2*30+26)/365.24219878)) ) + 621 }} }} | ||
| | | | ||
}} | }} |