In Java, we use System.currentTimeMillis () to get the time, is there a similar method in iOS?
NSDate().timeIntervalSince1970 * 1000
You can use: NSDate().timeIntervalSince1970
NSDate().timeIntervalSince1970
"The interval between the date object and 00:00:00 UTC on January 1, 1970.
Source: https://habr.com/ru/post/1243465/More articles:Android - How do I change the color of an EditText line using animations like Google Forms? - androidTypeScript Angular 2 Subscription Responses - javascriptValidation W3C HTML5 img noscript facebook.com - javascriptScale different parts of an SVG file differently - vector-graphicsKotlin data class: how to read the value of a property if I don't know its name at compile time? - kotlinScrollable Content Elements with Angular Tabs Dynamic Material Height - angularjsSingletones in Swift - design-patternsFirebase Fire - Query.once failed: called with 1 argument. Expected at least 2 - javascriptAngular material design md-tab scroll content - angularjsRemove excess background color from menu overflow menu / exit animation? - androidAll Articles