Manage your Google Drive, OneDrive, and Dropbox files straight from your DesktopWith Insync, you can now sync, edit, and share files without opening a million browser tabs Get Insync now
Summary This article describes how to determine whether the year in a date that is used in a Microsoft Excel document is a leap year. More Information The date system that is used by Excel is based on the Gregorian calendar, first established in 1582 by Pope Gregory XIII. This calendar was designed to correct the errors introduced by the less accurate Julian calendar. In the Gregorian calendar, a
うるう年の判定をPHPでやってみます。 (うるう年の定義) 1.4で割り切れる年は、うるう年 2.100で割り切れる年は、うるう年ではない 3.400で割る切れる年はうるう年 これをプログラムにすると・・・ $year = 2010; // 判定したい年を入力(西暦) if (($year % 4 == 0 && $year % 100 != 0) || $year % 400 == 0) { print 'うるう年です。'; } else { print 'うるう年ではありません。'; }
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く