Products | Versions |
---|---|
TIBCO Cloud Integration - Connect ( Scribe ) | - |
If your source contains a DateTime field, but you want only the month and year written to your target, use the CONCATENATE and DATEPART functions in the following formula:
CONCATENATE( DATEPART( "m" , <datetime field> ) , "/", DATEPART( "yyyy" , <datetime field>))
For example, if the DateTime field in your source contains:
9/3/2015 4:00:39 AM
After using the CONCATENATE and DATEPART functions in the formula shown above, the following is written to your target:
9/2015