Replaced Long timestamp with generated timestamp derived from LocalDateTime.