ConverDateToStringFormatCode

Convert Date To String Based On Format Code

Minor Business Rule

Object Name: N0701500

Parent DLL: CPAY

Location: Client/Server

Language: NER

N0701500, Convert Date To String Based On Format Code

Input: Date and Format Code


Format

Code         Output String Format

1MMDDYYYY

2YYYYMMDD

3DDMMYYYY

4MMDDYY

5YYMMDD

6DDMMYY


Where:

DD = Day

MM = Month

YY = Year (2-digit)

YYYY = Year (4-digit)


All are left-padded with zeroes



Error

CodeExplanation

blankNo Errors

1Format Code Not Recognized

2Date is blank (null date)


Data Structure

D0701500 - Convert Date To String Based On Format Code

Parameter NameData ItemData TypeReq/OptI/O/Both
jdInputDate_DTDTJDEDATEREQINPUT

The date that the employee was terminated, if applicable.

cOutputFormatCode_EV01EV01charREQINPUT

An option that specifies the type of processing for an event.

szOutputDateString_DL01DL01charREQOUTPUT

A user defined name or remark.

cErrorCode_EV01EV01charOPTOUTPUT

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None