How To save date and time value in date and time field in sugarcrm using before save logic hook ?

How To save date and time value in date and time field in sugarcrm using before save logic hook ?

Parents Reply
  • Hi All,

    I am trying to fetch date create/ date modified  from (any table) database using custom query query in sugarcrm entry point but accurate date not fetched using query.

    Exm. date_create-03-03-2020 03:23:45 (CRM Module display date created)

    but when i select to fetch this date using custom Query in sugarcrm date create mismatch

    so problem is that how we can fetch same date and time as crm create shows.

    Thanks 

    MG

Children