"틀:디데이"의 두 판 사이의 차이

4번째 줄: 4번째 줄:
</pre>
</pre>
<span alt="LEGACY" style="display:none;"><nowiki>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}</nowiki></span>
<span alt="LEGACY" style="display:none;"><nowiki>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}</nowiki></span>
<onlyinclude><includeonly>{{#switch:{{{정수|}}}|예|O=<!--정수-->{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }}<!--2--> }}<!--정수끝-->|<!--일반-->{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}<!--일반끝-->}}</includeonly></onlyinclude>
 
<onlyinclude><includeonly>{{#switch:{{{정수|}}}|예|O=<!--정수-->{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }}<!--2--> }}<!--정수끝-->|<!--일반-->#default = {{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}<!--일반끝-->}}</includeonly></onlyinclude>

2021년 12월 19일 (일) 07:03 판

{{디데이|날짜=2021-12-01|정수=}}
정수만 표출하려면 '정수'항목에 O 또는 예를, 아니라면 아무것도 작성하지 마세요.

{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} < 0 | D- }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | {{#expr:abs ceil {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +1 }} | <!--1-->{{#ifexpr: {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} = 0 | DAY | {{#expr:abs trunc {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} +0 }} }}<!--2--> }}<span alt="구분편의용"></span>{{#ifexpr: {{#expr: ({{#time: U | now || ko}}/86400) - ({{#time: U | {{{날짜|}}} }}/86400)}} > 0 | 일째 }}