AnsweredAssumed Answered

Sugar 7.2 follows which date time format

Question asked by Prabhjot Kaur on Feb 24, 2015
Latest reply on Feb 25, 2015 by Prabhjot Kaur
 /* if($prevalue !="Client to Verify Results" && $curvalue=="Client to Verify Results" )  {
   $GLOBALS['log']->fatal("BEFORRE CTVD1 IN 1 ". $bean->ctvd1_c);
   
   
$todaydate = $timedate->getInstance()->nowDbDate();

$dateObj = new SugarDateTime($todaydate);
$newDate = $dateObj->format('Y-m-d');

 $bean->ctvd1_c =   $newDate;

  }*/

Outcomes