Txt2Date Procedure
Converts text to date, according to provided settings.
Overloads
| Name | Description |
|---|---|
| Txt2Date(Record "QWETB File Settings" temporary; Text): Date | Converts text to date, according to provided settings. |
| Txt2Date(Text): Date | Converts text to date, according to configured settings. |
Txt2Date(Record "QWETB File Settings" temporary; Text) Procedure
Converts text to date, according to provided settings.
Signature
Txt2Date(TempFileSettings: Record "QWETB File Settings" temporary; DateAsText: Text) DateValue: Date
Parameters
TempFileSettings Record "QWETB File Settings" temporary
The file settings that specifies how the date is formatted.
DateAsText Text
The date value in text format.
Returns
Date
The date value.
Txt2Date(Text) Procedure
Converts text to date, according to configured settings.
The settings must first be provided in any of the LoadFields()
functions before calling this function overload.
Signature
Txt2Date(DateAsText: Text) DateValue: Date
Parameters
DateAsText Text
The date value in text format.
Returns
Date
The date value.
Remarks
To use this function without first importing a file, use the overload of this function that takes the File Settings record as a parameter.
This documentation is generated from Smart Toolbox v27.1