$s1Date = new DateTime(); $s1Week = array("日", "月", "火", "水", "木", "金", "土"); $w = (int)$s1Date->format('w'); echo $s1Week[$w];