연인 기념일 계산기

"; echo "오늘은 연인과 함께한 {$days_diff}일째이며, {$anniversary_week_day}요일입니다."; echo "
"; echo ""; echo ""; for ($i = 1; $i <= 10; $i++) { $anniversary_day = $start_timestamp + ($i * 100 * 24 * 60 * 60); $anniversary_day_date = date("Y-m-d", $anniversary_day); $anniversary_week_day = $week_day[date("w", $anniversary_day)]; echo ""; } for ($i = 2; $i <= 10; $i++) { $target_days = $i * 1000; $target_anniversary_day = $start_timestamp + ($target_days * 24 * 60 * 60); $target_anniversary_day_date = date("Y-m-d", $target_anniversary_day); $target_anniversary_week_day = $week_day[date("w", $target_anniversary_day)]; echo ""; } echo "
기념일날짜요일
{$i}00일{$anniversary_day_date}{$anniversary_week_day}요일
{$target_days}일{$target_anniversary_day_date}{$target_anniversary_week_day}요일
"; } ?>