@eviltofu short answer, you can't.
Long answer, swift encodes date as a number of seconds. This value is stored as a double. Doubles and floats and anything with decimand places are never 100% accurate.
See: https://stackoverflow.com/questions/4776813/inconsistencies-with-double-data-type-in-c
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.