Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Coding Problem with date format

  • Problem with date format

    Posted by Ghiara Mimmo on October 2, 2018 at 9:38 am

    Hello to all
    When the date in the database is null in visualization you see a nice 1 Jan 2000 there is no way to leave the field empty? It is ugly to see even if retroactive
    Thank you
    Mimmmo

    Marten Verhoeven replied 3 years, 10 months ago 3 Members · 2 Replies
  • 2 Replies
  • Dario L.

    Member
    October 2, 2018 at 9:54 am

    Hi,
    I think this is what you need:
    Calculate sessionObj.$emptydateisnull as kTrue

  • Marten Verhoeven

    Member
    October 2, 2018 at 10:05 am

    I think you need to set $emptydateisnull of your DAM to true in order to return null from the database. Otherwise it will return the value of $defaultdate as far as I know.

Log in to reply.