Products Downloads


French version


 


ADELIA

VADELIA

SADELIA

WADELIA

EADELIA

(I/B)

(I/B)

(B)

(I/B)

(B)


Warning: In the case of ADELIA programs, this function is not compatible with C generator.


Description

This predefined function is used to convert an alphanumeric variable to a TIMESTAMP type variable.


If the format of the alphanumeric Timestamp field is not valid, the result field is reset to *LOVAL.


Syntax

Result = &ALPHA_TO_TMSTP(Alphanumeric timestamp)


Parameters


Description

Contents

Controls

Result

TIMESTAMP type variable.

Timestamp set as a parameter converted to TIMESTAMP type.


Alphanumeric timestamp

Alphanumeric variable or constant.

Alphanumeric field containing a timestamp in the format yyyy-mm-dd-hh.mm.
ss.nnnnnn, to be converted to the TIMESTAMP type.

Mandatory parameter.


Example

WTIMESTAMP = &ALPHA_TO_TMSTP('2018-01-01-10.10.10.000000')


List of predefined functions by topic


↑ Top of page

  • Aucune étiquette