Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The ICONV() function converts data in external form such as dates to their internal form. The function takes the general form:

ICONV(expression1, expression2)


  • expression1 evaluates to the data upon which the conversion is to be performed. 
  • expression2 should evaluate to the conversion code that is to be performed against the data. 

Add additional ICONV extensions for timestamp as per WDx/WTx

If the conversion code used assumes a numeric value and a non-numeric value is passed then the original value in expression1 is returned unless the emulation option iconv_nonnumeric_return_null is set.

An example of use is as:

InternalDate = ICONV("27 MAY 1997", "D")

The above should display the date in internal format.

See also: OCONV.

Go back to jBASE BASIC.

Was this article helpful?