On 29 Lug, 23:26, "John A Grandy" <johnagrandy-at-gmail-dot-com>
wrote:
> Within a Devied Column Transformation Editor, how to build a date from parts
> ?
[quoted text clipped - 4 lines]
> Of the Date/Time Functions provided , DATEADD looks most promising, but
> still won't work ( as far as I can tell ).
Hi john,
this is ssis function syntax: DATEADD(datepart, number, date)
Returns a new Date type value from an existing date type value,
[date], augmented of [number] units of (alternatively) days/months/
years.
That can't fit your needs. I would rather try concatenating day + / +
month + / + year and performing a datetime conversion on it.
Something like:
(DT_DATE)[your string format like like yyy-mm-dd]
Here more infos:
http://technet.microsoft.com/en-us/library/ms141704.aspx
HTH,
M.