DAY (SSIS)
SQL Server 2005
Returns an integer that represents the day datepart of a date.
This example returns the number of the day in a date literal. If the date format is in "mm/dd/yyyy" format, this example returns 23.
DAY((DT_DBTIMESTAMP)"11/23/2002")
This example returns the integer that represents the day in the ModifiedDate column.
DAY(ModifiedDate)
This example returns the integer that represents the day of the current date.
DAY(GETDATE())
Reference
DATEADD (SSIS)DATEDIFF (SSIS)
DATEPART (SSIS)
MONTH (SSIS)
YEAR (SSIS)
