Class CErrorHandler::
GetCurrentDateTime()
Data ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: GetClassNameNext page: GetLog    Show member index
Public Function Declared in:
ErrorHandler.h

'Declaration' icon -- Shortcut to top of page. Declaration

static std::string GetCurrentDateTime();

'Description' icon -- Shortcut to top of page. Description

Get a formated time and date

'Function Body' icon -- Shortcut to top of page. Function Body

try
{
    //Our string
    std::string sDate;

    //Our tmp buf
    char cTmp[128];

    //Get date
    _strdate(cTmp);
    sDate=cTmp;
    sDate+=' ';

    //Get time
    _strtime(cTmp);
    sDate+=cTmp;

    //Done
    return sDate;
}
ERROR_HANDLER_STATIC_RETURN(CErrorHandler_Class,"GetCurrentDateTime","")

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.