Expand my Community achievements bar.

Report Builder- Custom Date Stamp in Scheduled Email Subject Line

Avatar

Level 1

I'm using a custom date/time stamp in the email subject line of an Adobe Report Builder scheduled report.  Is it possible to include text to separate the date & time in my custom time stamp?  To get something like this-  "Report Name_04-Dec-2024 Thru 9AM"

3 Replies

Avatar

Community Advisor and Adobe Champion

Hi,

 

I've not tried this, but I took a quick look.

 

I assume you are using the Advanced Delivery options:

Jennifer_Dungan_2-1733345336973.png

 

 

So, if you click on "..." next to your subject line, it will open this popup:

Jennifer_Dungan_3-1733345382093.png

 

 

These are just suggestions, showing you that "MM" is a 2 digit example of the month (04), and MMM is the three letter short form of the month (Apr), or "MMMM" is the full month (April). 

 

You should be able to type in whatever you want using these as building blocks.. 

 

So change "yyyy-MM-dd" to:

"_dd-MMM-yyyy ddd h AM/PM"

 

 

I built in the initial _, and added ddd which should result in "mon" or "tue" or "wed", etc (I think that is what you meant you wanted added?)

 

Try that and see if it works for you?

Avatar

Level 1

Thanks Jennifer!

 

Was actually trying to get the 'ddd' from your example to read with the word "Thru"

 

So instead of "_dd-MMM-yyyy ddd h AM/PM" where ddd returns a 3-letter day of the week,

"_dd-MMM-yyyy Thru h AM/PM" so the word "Thru" returns where you have ddd

 

In all of the variations I've tried, the date/time stamp won't correctly format text other than the code examples from your screenshot. It also won't let me add more than 1 date/time stamp to the subject line so i can add my own text in between.

Avatar

Community Advisor and Adobe Champion

Honestly, I went back and forth on if you wanted literal "Thru" or if that was a typo... oops.. I guess I shouldn't have second guessed myself.

 

So it won't accept a value in the middle?

 

Try adding quotes?

_dd-MMM-yyyy "Thru" h AM/PM

 

 

I think the "h" in "Thru" might be trying to pick up the hour? 

 

Note, I just tested this in a Excel Format Cell... but I would hope the same basic logic would apply???

 

Jennifer_Dungan_0-1733352614320.png

 

The underscore also became a space in my preview, but if I add it in quotes too....

"_"dd-MMM-yyyy "Thru" h AM/PM

Jennifer_Dungan_1-1733352675046.png

 

Fingers crossed!