10 April 2014

UTCDateTime to Date conversion and date comparition

HI Guys,This may be useful for you.

Date _date;

_date = DateTimeUtil::date(testTable.CraetedDateTime); // _time = DateTimeUtil::Time(testTable.CraetedDateTime); to get time

if(_date <= 31\12\2010) // dd\mm\yyyy
// do some thing


Thanks
Sunil

No comments:

Post a Comment

Give me the commetns and solutions

How to add the Display method in the form level in D365 F&O

 The below examle is to add the form -Data source level adding display method and assigning to form design control.