0
Ich habe eine Variable $ YEARWEEK und ich würde den Tag der Woche erhalten: Ex:Erhalten Tag der Woche von YEARWEEK in PHP
$yearweek = 201630
$monday = '2016-07-25'
$thuesday = '2016-07-26'
...
Ich habe eine Variable $ YEARWEEK und ich würde den Tag der Woche erhalten: Ex:Erhalten Tag der Woche von YEARWEEK in PHP
$yearweek = 201630
$monday = '2016-07-25'
$thuesday = '2016-07-26'
...
# Create new DateTime object
$date = new DateTime();
# Get Week start date (monday)
$arr['monday'] = $date->setISODate(2016, 30)->format('d-m-Y');
# For example this is sunday, you can do this for all days by changing +6
$arr['sunday'] = $date->modify('+6 days')->format('d-m-Y');
Bitte erläutern Sie über das Problem – jophab