Friday, January 14, 2011

How to convert TransDate to UTCDateTime.

Class SalesParmCleanUp()->deleteSalesParmTables method:
    TransDate cleanupDate;
    UtcDateTime cleanUpDateTime;
    ;

    cleanUpDateTime = datetoendUtcDateTime(cleanupDate,
                                           DateTimeUtil::getUserPreferredTimeZone());