xInfo::compilationDate Method [AX 2012]

Retrieves the date on which the current version of Microsoft Dynamics AX was last compiled.

client server public static str compilationDate()

Run On

ClientOrServer

Return Value

Type: str
A string that contains the date on which Microsoft Dynamics AX was last compiled.

The following example returns system information, including the date on which the application was last compiled:

str environment() 
{ 
    return xInfo::buildNo() + ' - '  
        + xInfo::compilationDate() + ' - '  
        + xInfo::dbName() + ' - '  
        + xInfo::osName() + ' - '  
        + xInfo::productName() + ' - '  
        + xInfo::releaseVersion(); 
}
Show: