틀:날짜초를초로변환: 두 판 사이의 차이
백괴게임>Bd3076 편집 요약 없음 |
백괴게임>Bd3076 편집 요약 없음 |
||
11번째 줄: | 11번째 줄: | ||
{{#vardefine:leapyear|{{#expr:({{#var:year}}+2)/4 round 0}}}} | {{#vardefine:leapyear|{{#expr:({{#var:year}}+2)/4 round 0}}}} | ||
{{#vardefine:totaldays|{{#expr:{{#var:year}}*365+{{월별누적일|{{#var:month}}}}+{{#var:day}}+{{#var:leapyear}}}}}} | {{#vardefine:totaldays|{{#expr:{{#var:year}}*365+{{월별누적일|{{#var:month}}}}+{{#var:day}}+{{#var:leapyear}}}}}} | ||
{{#vardefine:totalsecond|{{#expr:{{#var:totaldays}}*86400+{{#var:hour}}*3600+{{#var:minute}}*60+{{#var:second}}}}}}{{#var:totaldays}} | |||
</includeonly></onlyinclude> | </includeonly></onlyinclude> | ||
<noinclude>예시: {{틀변수|날짜초를초로변환|19700101000001}} {{날짜초를초로변환|19700101000001}}</noinclude> | <noinclude>예시: {{틀변수|날짜초를초로변환|19700101000001}} {{날짜초를초로변환|19700101000001}}</noinclude> |