What's the current time Date object time precision when it is initiated using Date()
? Does it capture the time to milliseconds?
let currentTime = Date()
print(currentTime) // 2022-10-09 09:13:39 +0000
When I print the date it only shows 2022-10-09 09:13:39 +0000
so I wonder if its precision is only to the second.