-(NSString*)SetTime:(NSString *)time{
NSDateFormatter*formatter = [[NSDateFormatter alloc]init];
[formatter setDateStyle:NSDateFormatterMediumStyle];
[formatter setTimeStyle:NSDateFormatterShortStyle];
[formatter setDateFormat:@"yyyy-MM-dd HH:mm"];
// ?這個 time轉(zhuǎn)double 除1000 是我們自己后臺 時間戳傳的問題
double timeval = [time doubleValue]/1000;
NSDate *confromTimesp = [NSDate dateWithTimeIntervalSince1970:timeval];
NSLog(@"1296035591? = %@",confromTimesp);
NSString *confromTimespStr = [formatter stringFromDate:confromTimesp];
NSLog(@"訂單時間xxxx? = %@",confromTimespStr);
return confromTimespStr;
}