I have a
java standalone application, It uses Date dt = new Date(); for getting current date and store it in datebase. But sometimes it stores Date like 2021-08-27 17:53:28, 2012-05-28 21:00:17, 3300-12-15 15:25:46, 3006-12-02 05:45:55 or sometimes fails to store in database while trying to save 30062007-12-02 05:45:55.
It happens very rarely, so fail to distinguish the problem.
Please help me out if anybody had this problem or have something on the mind.
Thanks