| _CP_TERM | Index Level | _CP_timedate |
| Syntax | int _CP_time(int* result) |
| Category | C Interface |
| Type | C Function |
| Description |
equivalent to the FlashBASIC statement: result = time()
This function returns -1 if an error occurs. The error code is contained in _CP_errno. |
| Options | |
| See Also | C Functions introduction |
| Example |
The following example prints the numeric time.
int i; _CP_time(&i); _CP_unix_env(); printf("%d\n",i); |
| Warnings | |
| Compatibility | AP 6.1 |
| _CP_TERM | Index Level | _CP_timedate |