我需要以这种格式打印从现在到 30 天的意大利时间2013-03-11#11 Mar | Mon
我发现 Date 函数不返回意大利语翻译,所以我正在使用strftime。
但是我怎样才能给strftime添加天数?
setlocale(LC_ALL, 'it_IT');
for($i=0; $i<30; $i++){
echo $date = date("Y-m-d", strtotime('now + '.$i.' days'));
echo " # ";
echo $date_string = strftime("%d %b | %a" );
}