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

Ledger Voucher creation Framework and x++ code to create ledger voucher

 Please click her for MS reference file Below is the out of the box example reference and code. SalesInvoiceJournalPostSubBill_Extension->...