web_convert_date_param

Converts a date string stored in a parameter to a different format.

int web_convert_date_param( const char * SourceParam, [const char * TargetParam,] const char * SourceFormat, const char * TargetFormat,LAST ) ;
 
Argument
Description
SourceParam
The name of the parameter containing the date string to convert. If TargetParamName is not used, the converted date string is written to this source parameter. Note that this is not a name-value pair. Pass only the name of the parameter.
TargetParam
If TargetParam is specified, the converted date string is written to the parameter with this name and the SourceParam value is not changed.
SourceFormat
The input date format.
TargetFormat
The target date format.
LAST
A marker indicating the end of the argument list.

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

Parameterization

Parameterization is not applicable to this function.

General Information

The web_convert_date_param function converts a date string stored in a parameter from one format to another.

The only supported SourceFormat is "AMERICAN". The only TargetFormat supported is "GERMAN".