FromtheiOSdocs:secondsThenumberofsecondsfromthecurrentdateandtimeforthenewdate.Useanegativevaluetospecifyadatebeforethecurrentdate.但是这段代码给出的日期是2148年:#import#importintmain(intargc,constchar*argv[]){@autoreleasepool{for(inti=0;i它应该生成最近的半随机日期和时间。 最佳答案 正如HotLicks所说,这是由于在使数