OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Programming Questions Datetime in Datagrid

This topic contains 2 replies, has 2 voices, and was last updated by  SkaiBoa 6 years, 11 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
  • #33289



    when I use Date or Datetime in a Datagrid i got a problem with this value in the database: ‘0000-00-00 00:00:00’ or ‘0000-00-00′. It shows in the grid as ’11/30/0001’. A way is to take a Decorator and delete this date and render out a empty cell, but that cannot be the real solution.

    Is there any other solution that ‘0000-00-00’ in the database render as a empty string ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #33290

    You shouldn’t have such value in db for date, instead use NULL if possible.
    Fixed in master, check after release.



    Thank you very much. That helps.

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No