getLong() now extracts the timestamp