Summary
DateAdd()
DateDiff()
DateParse()
DatePart()
FormatDate()
GetSendTime()
LocalDateToSystemDate()
Now()
StringToDate()
SystemDateToLocalDate()
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Returns a timestamp for the beginning or end of a list, data extension (DE), or manual send at the job or individual subscriber level.
The value that the function returns is in Central Standard Time (CST) without daylight saving time.
| Marketing Cloud Engagement | ✅ Yes |
| Marketing Cloud Next | ❌ No |
1GetSendTime(boolAllSubscribers)The GetSendTime() function has one parameter:
boolAllSubscribers (boolean): If true, the function returns the job publish time or time at which the job started. If false, the function returns the timestamp at which the send completed for the individual subscriber. The default value is false.To return the time at which the send completed for an individual subscriber, call the GetSendTime() function without any parameters.
1<p>%%=GetSendTime()=%%</p>You can also return the time at which the job started or was published by passing the boolAllSubscribers parameter.
1<p>%%=GetSendTime(true)=%%</p>This table shows how the results that the Now() and GetSendTime() functions return vary in different situations.
| Function | During a send | After a list, DE, or manual send | After a triggered or journey send |
|---|---|---|---|
| GetSendTime() | Current system time | Individual subscriber send completed time | Individual subscriber send completed time |
| GetSendTime(true) | Current system time | Job start time | Job publish time |
| Now() | Current system time | Current system time | Current system time |
| Now(true) | Current system time | Job start time | Job publish time |
When used in web contexts such as “View as a Web Page” or HttpGet(), the GetSendTime() function returns the job publish time or the time at which the job started, regardless of the value of the boolAllSubscribers parameter.