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

3번째 줄: 3번째 줄:
정수만 표출하려면 '정수'항목에 O 또는 예를, 아니라면 아무것도 작성하지 마세요.
정수만 표출하려면 '정수'항목에 O 또는 예를, 아니라면 아무것도 작성하지 마세요.
</pre>
</pre>
<onlyinclude><includeonly>{{#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>{{#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 | 일째 }}


 
{{#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>
{{#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 | 일째 }}<!--일반끝-->}}

2021년 12월 19일 (일) 06:40 판

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