Change date format in Luminate emails
Hi - is there a way to format the date in Luminate emails so they don't show up as XX/XX/XXXX?
Tagged:
0
Comments
-
One option would be to use brute force and the S130 Polish Notation tag. Here's a great breakdown on this complicated tag from Chris.
https://community.blackbaud.com/forums/viewtopic/1/961?post_id=961#p961
I wonder if there is another tag that would do this easier, but blackbaud.com is down along with all the Tag docs. There are other tags (T-Tags, C-Tags, etc) besides S-Tags that might cover this. Can't recall, but I would look there too.
BPM0 -
You can format the current date [[S9]]. Presumably your date comes from an S-Tag you can't format.
I'm sure there is a more elegant solution, but this works and supports one or two digits.
[[E130: "1/30/1999" 0 [[S130:"1/30/1999" "/" indexof]] substring]]
[[E130: "1/30/1999" [[S130:"1/30/1999" "/" indexof]] 1 + [[S130:"1/30/1999" "/" lastindexof]] substring]]
[[E130: "1/30/1999" [[S130:"1/30/1999" "/" lastindexof]] 1 + [[S130:"1/30/1999" length]] substring]]
[[E130: "12/1/1999" [[S130:"12/1/1999" "/" lastindexof]] 1 + [[S130:"12/1/1999" length]] substring]]
[[E130: "12/1/1999" 0 [[S130:"12/1/1999" "/" indexof]] substring]]
[[E130: "12/1/1999" [[S130:"12/1/1999" "/" indexof]] 1 + [[S130:"12/1/1999" "/" lastindexof]] substring]]
Here's how it would look using an S-Tag for the date. I'll use S9 here (though again - you could just format that one with the S9 tag itself.)
[[E130: "[[S9:Survey]]" 0 [[E130:"[[S9:Survey]]" "/" indexof]] substring]]
[[E130: "[[S9:Survey]]" [[E130:"[[S9:Survey]]" "/" indexof]] 1 + [[E130:"[[S9:Survey]]" "/" lastindexof]] substring]]
[[E130: "[[S9:Survey]]" [[E130:"[[S9:Survey]]" "/" lastindexof]] 1 + [[E130:"[[S9:Survey]]" length]] substring]]
Change the order at will:
This is today as an ISO date: [[E130: "[[S9:Survey]]" [[E130:"[[S9:Survey]]" "/" lastindexof]] 1 + [[E130:"[[S9:Survey]]" length]] substring]]-[[E130: "[[S9:Survey]]" 0 [[E130:"[[S9:Survey]]" "/" indexof]] substring]]-[[E130: "[[S9:Survey]]" [[E130:"[[S9:Survey]]" "/" indexof]] 1 + [[E130:"[[S9:Survey]]" "/" lastindexof]] substring]].
BPM
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 398 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 651 Blackbaud Grantmaking™
- 570 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 939 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.6K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 The Tap (Just for Fun)
- 34 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 788 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
