hi all,
if any body working on the times , becarefully ,
if u want local meachine time uses this :datetimeutill::applytimezoneeffect(datetimeutill::getsystemdatetime,datetimeutil::getcilentmeachinetimezone());
if u r want session date
datetimeutill::applytimezoneeffect(datetimeutill::getsystemdatetime,datetimeutil::getuserprefferedtimezone());
thanks
srikanth