Get today's date
static long Today( );
A serial date value (as used by Excel)
This function calls Excel's TODAY() function.
If a call to the Excel API fails, then an exception of type CXlApiException will be thrown. Since this exception is derived from CXlRuntimeException, it will be caught by the add-in wrapper function when this method is called from within an add-in function.