In SQL:
select dateadd(d,36464,'1899-12-30')
-- or thanks to rcdmk
select CAST(36464 - 2 as SmallDateTime)
In SSIS, see here
More Related Contents:
- How do I create a step in my SQL Server Agent Job which will run my SSIS package?
- Automate Version number Retrieval from .Dtsx files
- Query a database based on result of query from another database
- SSIS Source Format Implicit Conversion for Datetime
- How to Map Input and Output Columns dynamically in SSIS?
- Calculate a Running Total in SQL Server
- Subquery using Exists 1 or Exists *
- Truncate (not round) decimal places in SQL Server
- Most efficient T-SQL way to pad a varchar on the left to a certain length?
- Select statement to find duplicates on certain fields
- Getting only Month and Year from SQL DATE
- Update records in table from CTE
- Dynamic Pivot Columns in SQL Server
- INT vs Unique-Identifier for ID field in database
- How to send email from SQL Server?
- How To Create Table with Identity Column
- Why do you create a View in a database?
- Cannot use a CONTAINS or FREETEXT predicate on table or indexed view because it is not full-text indexed
- How to split string using delimiter char using T-SQL?
- Calculate the number of records for each date between 2 dates
- T-SQL: How to use parameters in dynamic SQL?
- How to compare datetime with only date in SQL Server
- Merge overlapping date intervals
- SQL server select distinct rows using most recent value only
- Split words with a capital letter in sql
- SQL poor stored procedure execution plan performance – parameter sniffing
- Eliminate and reduce overlapping date ranges
- scope_identity vs ident_current
- COALESCE Function in TSQL
- Convert bigint to datetime