Skip to content

Instantly share code, notes, and snippets.

View mi703148-pixel's full-sized avatar

mi703148-pixel

  • Joined Oct 24, 2025
View GitHub Profile
public void Main()
{
try
{
string filePath = Dts.Variables["User::v_FilePath"].Value.ToString();
if (System.IO.File.Exists(filePath))
{
DateTime creationDate = System.IO.File.GetCreationTime(filePath);
Dts.Variables["User::v_FileCreationDate"].Value = creationDate;