Top  Previous  Next


ServerTimeNH( &aDateTime, &aErrorMsg );




Returns ServerDateTime, ErrorMsg



Description: ServerTimeNH() returns the current date and time on the Crash Magic server without requiring a "handle" or login.


&aDateTime The Date and time on the server, represented as a string at the moment of the call.  The format will appear as: "yyyy-mm-dd hh:nn:ss".

&aErrorMsg is populated only if an error occurred that prevented the function from succeeding.  Otherwise, this parameter is empty.


Example: ServerTimeNH( lDateTime, lErrorMsg );