cfunc.date

C Function/C Functions, Releases: AP 6.1

Pick/BASIC 'date' functionality from C.

Syntax

int _CP_date(int* result)

Description

is equivalent to the Pick/BASIC statement: result = date()

This function returns -1 if an error occurs. The error code is contained in _CP_errno.

Example

/* The following example prints the numeric date */

int i;

_CP_date(&i);
_CP_unix_env();
printf('%d\n',i);

See Also

Command Name Type Description
cfunc.introduction Introductory Overview

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.