获取时间、考虑时区、时间格式 - (void)viewDidLoad{[super viewDidLoad];// Do any additional setup after loading the view, typically from a nib.//获取当前时间NSDate *now = [NSDate date];NSLog(@"It's %@ now,",now);//获取
挺简单啥也不说了直接上代码(NSDate和反射) //// main.m// NSNumberAndNSValue//// Created by WildCat on 13-7-26.// Copyright (c) 2013年 wildcat. All rights reserved.//#import <Foundation/Foundation.h>#im