Saturday, 2 January 2016

UTC date time to String X++ AX 2012

UTC date time to string x++ AX 2012


    utcDateTime utc;
    str         strdate;
      
    utc = DateTimeUtil::newDateTime(mkDate(15,12,2012),0);
   
    info(strFmt('UTC date: %1',utc));
    strdate = DateTimeUtil::toStr(utc);
   
    info(strFmt('String: %1',strdate));

No comments:

Post a Comment