get current unix timestamp swift ios code example Example: get current unix timestamp swift ios Date().timeIntervalSince1970 // Double