Table of Contents

Txt2Date Procedure

Codeunit File Importer

Converts text to date, according to File Setting set by the Init() procedure.

Signature

Txt2Date(DateAsText: Text) DateValue: Date

Parameters

DateAsText Text

The date value in text format.

Returns

Date

The date value.

Remarks

If source of the data is Excel, the text value will be evaluated to a date value according to the current settings in BC.

This documentation is generated from Smart Toolbox v27.1