Developer forum

Forum » Ecommerce - Standard features » Data Integration - Set datetime

Data Integration - Set datetime

Terri Donahue
Terri Donahue
Reply

Hi guys,

I am trying to add a constant value of the current datetime to a SQL column named ImportTime during a data import. ImportTime is defined as date/time. I found the reference to use @Code() to perform this but can't figure out the right syntax. What should this value be to always insert the current timestamp in this column?


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Try this:

@Code(DateTime.Now)

Votes for this answer: 1
 
Terri Donahue
Terri Donahue
Reply

Thanks Nicolai. That pesky System was breaking it.

 

You must be logged in to post in the forum