Forum Stats

  • 3,875,419 Users
  • 2,266,914 Discussions


Cannot format given Object as a Date

User_BMQ12 Member Posts: 26 Green Ribbon

Hi all! I have an oracle table that has a date column. I want to create a variable inside code with current date and do some table date condition with current date. Now when I initialize the current date - for some reason (it can be seen in the logs) it is equal to 1970-01-01. And it comes up with an error like "Cannot format given Object as a Date". It can be seen in the log. Could you suggest what is the problem?