iphone-common-codes-ccteam源代码 CCNSDate.h

//
// CCNSDate.h
// CCFC
//
// Created by xichen on 11-12-17.
// Copyright 2011年 ccteam. All rights reserved.
//


#import <Foundation/Foundation.h>




@interface NSDate(cc)

// 获取系统时间(yyyy-MM-dd HH:mm:ss.SSS格式)
+ (NSString *)getSystemTimeStr;


// print current time using printf func
+ (void)printCurrentTime;


// print the system date by chinese format
+ (void)printSystemDateByChineseFormat;




@end

 

可能有更新:

googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCNSDate.h

github地址: https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCNSDate.h

 

你可能感兴趣的:(iPhone)