xInfo::compilationDate Method

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

Syntax

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.

Examples

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(); 
}

See Also

xInfo Class

xInfo::buildNo Method

xInfo::compilationTime Method

xInfo::releaseVersion Method