<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sampomich</author_name>
  <author_url>https://blog.hatena.ne.jp/sampomich/</author_url>
  <blog_title>労働法の散歩道</blog_title>
  <blog_url>https://sampomich.hateblo.jp/</blog_url>
  <categories>
    <anon>法務ほか</anon>
  </categories>
  <description>エクセル関数リストにないけれど、Lotus1-2-3互換としてすぐれもののDATEDIF関数があります。エクセルシート上で使え、期間計算をする関数ですが年齢計算に適してます。 =DATEDIF(起算日,終了日,&quot;Y&quot;) といった形で使用します。最後の引数に &quot;M&quot; を用いるなら経過月数、&quot;YM&quot; なら年部分をのぞいた月数（0～11）、&quot;D&quot; は経過日数を返します。年齢計算するなら、&quot;Y&quot; を使用しますが、民法（年齢計算に関する法律）に準拠した年齢を得たい場合は、 =DATEDIF(生年月日,基準日+1,&quot;Y&quot;) とすれば、誕生日の前日が満年齢となる計算結果を返してくれ、法にかないます。 うるう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsampomich.hateblo.jp%2Fentry%2Fc6874f7ecdee1fa9e1bdce8bef32964d&quot; title=&quot;DATEDIF関数での年齢計算 - 労働法の散歩道&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-06-15 09:39:00</published>
  <title>DATEDIF関数での年齢計算</title>
  <type>rich</type>
  <url>https://sampomich.hateblo.jp/entry/c6874f7ecdee1fa9e1bdce8bef32964d</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
