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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.2.4.1. Recommended Date and Time Formats<br />

AEDIT$–ASCII Image Composition Editing Package<br />

Since there are many possible date and time format combinations, the following formats<br />

are recommended as standard:<br />

YYMMDD HHMM:SS format (1,2) (most compact)<br />

CCYY-MM-DD HHMM:SS format (4,2)<br />

CCYY mmm DD ddd HHMM:SS format (8,2) (most descriptive)<br />

The element SFDTBL$ contains the ASCII character abbreviations for months and days.<br />

It is accessed by the external label SFDTBL$. These abbreviations may be changed to<br />

other abbreviations for months and days, for example, when using languages other than<br />

English.<br />

4.2.4.2. Calling Procedure for Date and Time Editing<br />

The following procedure calls the ASCII system standard format date and time editing<br />

routine:<br />

A$ESFDT[,t] [date] [time]<br />

error return<br />

normal return<br />

where:<br />

t<br />

date<br />

The type of call to AEDIT$SFDT: This parameter is optional and may be omitted.<br />

CB or A, if specified, must be enclosed by apostrophes.<br />

blank<br />

'CB'<br />

'A'<br />

Call the relocatable version of AEDIT$SFDT. This is the default if t is omitted.<br />

Call the common bank version of AEDIT$SFDT.<br />

Call the common bank version of AEDIT$SFDT using the Auto Switch method.<br />

The address of a caller-specified date and time. If specified, it must be in TDATE$<br />

format. This parameter is optional.<br />

7833 1733–004 4–21

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

Saved successfully!

Ooh no, something went wrong!