从PHP周中获得每周的一周

时间:2016-07-30 08:01:34

标签: php date

我有一个变量$ yearweek,我会得到星期几:ex:

$yearweek = 201630
$monday   = '2016-07-25'
$thuesday = '2016-07-26'
...

1 个答案:

答案 0 :(得分:0)

-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
//Need to give tag value to table view
if(scrollView.tag == 100){
    //table1
}else if(scrollView.tag == 101){
    //table2
}}