Get current date in milliseconds

前端 未结 12 772
别跟我提以往
别跟我提以往 2020-12-04 10:23

Can any one give me an idea how to get the current date in milliseconds?

12条回答
  •  渐次进展
    2020-12-04 11:11

    NSTimeInterval milisecondedDate = ([[NSDate date] timeIntervalSince1970] * 1000);
    

提交回复
热议问题