Hi all,
i m using sugarcrm 5.1. i created one custom field which has code data type. in that i write this code:
$date=get_stage_date($bean->id);
if($date!="-") {
$TimeDate = new TimeDate();
$date=$TimeDate->to_display_date($date);
}
print $date;
my problem is I m not getting write date. it show me one day less means if i enter 2008-12-29 than it show me 2008-12-28..
so anyone help me where i m wrong
thanx in advance


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks