NSDate *  senddate=[NSDate date];

    

    NSDateFormatter  *dateformatter=[[NSDateFormatter alloc] init];

    

    [dateformatter setDateFormat:@"yyyy"];

    //    今年2016

    NSString *thisYearString=[dateformatter stringFromDate:senddate];

 

相关文章:

  • 2022-02-08
  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
相关资源
相似解决方案