Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Need SSIS EXPRESSION HELP FOR DATEADD

$
0
0

hi all,

my current variable expression is as per below

 RIGHT("0" + (DT_STR, 2, 1252) DATEPART("dd" , @[System::StartTime]), 2) + RIGHT("0" + (DT_STR, 2, 1252) DATEPART("mm" ,@[System::StartTime]), 2) +  (DT_STR, 4, 1252) DATEPART("yy" , @[System::StartTime]) + "_" +RIGHT("0" + (DT_STR, 2, 1252) DATEPART("hh" , @[System::StartTime]), 2) + RIGHT("0" + (DT_STR, 2, 1252) DATEPART("n" , @[System::StartTime]), 2) + RIGHT("0"+ (DT_STR, 2, 1252) DATEPART("ss" , @[System::StartTime]), 2) 

so basically it is returning me today's date and time.

now i want to add 8 hours in my hour part for specific country local time.so can you please help to write expression.





Viewing all articles
Browse latest Browse all 24688

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>