18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SFDT$–System Standard Format Date and Time<br />

Parameters<br />

The calling program must set the following variables before calling SFDT$:<br />

SFDT_DATE_FORMAT<br />

Specifies date format (0 through 8). If set to zero, no date format is used; only the<br />

time is formatted.<br />

SFDT_TIME_FORMAT<br />

Specifies time format (0 through 3). If set to zero, no time format is used; only the<br />

date is formatted.<br />

SFDT_SEPARATOR<br />

Specifies space separator (" ") between formats if set to S'Space', and dash<br />

separator ("-") if set to S'Dash'.<br />

SFDT_PACKET_VERSION<br />

Specifies the SFDT$ packet version (the current version is 1).<br />

SFDT_CHAR_OFFSET<br />

The character offset (0, 1, 2, or 3) in the first word at which to start the ASCII<br />

date/time string.<br />

SFDT_BUFFER_LENGTH<br />

Specifies the length in words of the buffer into which the string is placed.<br />

SFDT_BUFFER_ADDRESS<br />

Specifies a pointer to the buffer into which the string is placed.<br />

SFDT_DATE<br />

Value for date; may be assigned a negative integer to use current date or assigned a<br />

positive integer or octal string value if a date other than the current date is desired<br />

(must be in TDATE$ format).<br />

SFDT_TIME<br />

Value for time; may be assigned a negative integer to use current time or assigned a<br />

positive integer or octal string value if a time other than the current time is desired<br />

(must be in TIME$ format).<br />

7833 1733–004 22–9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!