Templat:Orddate2YMD: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan |
kTidak ada ringkasan suntingan |
||
Baris 1:
{{{1|{{#time:Y}}}}}-{{MJD2M|{{#expr:{{MJD|{{{1|{{#time:Y}} }}} }}+{{{2|{{orddate|{{{1|{{#time:Y}}}}} }} }}}-1}}}}-{{MJD2D|{{#expr:{{MJD|{{{1|{{#time:Y}} }}} }}+{{{2|{{orddate|{{{1|{{#time:Y}}}}} }} }}}-1}}}}<noinclude>{{cquote|you can use MJD of New Year, add orddate-1, and apply MJD2D and MJD2M}}
MJD of New year: {{MJD|2010}}<br />
add orddate-1 : {{#expr:{{MJD|2010}}+{{orddate}}-1}}<br />
and apply MJD2D and MJD2M: {{MJD2D|{{#expr:{{MJD|2010}}+{{orddate}}-1}}}} {{MJD2M|{{#expr:{{MJD|2010}}+{{orddate}}-1}}}}
-----
Tes: <nowiki>{{Pengguna:Kenrick95/Sandbox/Orddate2YMD|2011|5}}</nowiki> -> {{Pengguna:Kenrick95/Sandbox/Orddate2YMD|2011|5}} -> {{#time:j F Y|{{Pengguna:Kenrick95/Sandbox/Orddate2YMD|2011|5}}}}
</noinclude>
|