I have a package in SSIS, in the data flow I have a script component that is a data source, setting variables to an Excel Data Flow Destination.
With ScriptOutputBuffer
.AddRow()
.scriptRowID = 2
.Filename = Variables.foundFile
.RunTime = Now
.Status = "found"
End With
Unfortunately the dates are coming out in the following format :-
7/2/2010 8:22:46 AM
The LocaleID on the script component and the Excel Destination Data Flow component are all set to English (United Kingdom)
Any help, or other things to check would be much appreciated.
EDIT: The script component was outputting the date in the DT_Date format. I changed it to DT_DBTIMESTAMP format and I am now getting the dates in the following format in Excel :-
2010-07-02 09:15:44.662000000
better, but still a little unfriendly when read by humans.