I am working with Ampscript and trying to format a date in Exact Target.
I need to pull in the date out of a date/time stamp field. If I use
set @eventStartDay = Format(@eventStartDay,"dd")
the date pulls in with the leading zero "05".
I changed it to
set @eventStartDay = Format(@eventStartDay,"d"),
hoping to drop the zero and pull in "5". Instead, the entire date pulls in, formatted like this: "2/5/2015"
What am I doing wrong?
Thanks for any guidance.