DATE2SMALLJUL - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Apply engine
Copyright
2024
First publish date
2000
ft:lastEdition
2024-07-30
ft:lastPublication
2024-07-30T20:19:56.898694

The DATE2SMALLJUL function converts a conventional date (YYYYMMDD) to small Julian date format, returning a five (5) digit value in YYDDD format.

Category

Date / Time

Syntax
DATE2SMALLJUL(source_date)
Parameter and Description
Parameter Description
source_date

This parameter specifies a source date in YYYYMMDD format.

Example

Determine the Julian day from the date January 31st, 2000 and map the result to target field SMALL_JULIAN_DATE.

NEWDATE = AFTER (20121127, '5YY', '3MM', '2DD')

Returns a date value of 20180301 and maps the result to the target field.

Add 3 days to date 12/31/2011 and map the result to field NEWDATE.

SMALL_JULIAN_DATE = DATE2SMALLJUL (20000131)

Returns the value of 031.