Rename methods and use floor in ToUnixTimestamp