{
$g
=
strftime
("%u",
strtotime
(
$day
));
return
array
('week_num'=>
strftime
("%V",
strtotime
(
$day
)),'week_start_day'=>
strftime
('%Y-%m-
%d',
strtotime
(
$day
)-(
$g
-1)*86400),'week_start_day_cn'=>
strftime
('%Y 年%m 月%d 日',
strtotime
(
$day
)-(
$g
-1)*86400),'week_end_day'=>
strftime
('%Y-%m-%d',
strtotime
(
$day
) + (7-
$g
)*86400),'week_end_day_cn'=>
strftime
('%Y 年%m 月%d 日',
strtotime
(
$day
) + (7-
$g
)*86400));
}