Date stamp

Post Reply
abonsey
Member
Posts: 142
Joined: Fri May 24, 2013 5:10 pm

Date stamp

Post by abonsey »

How do I add a suffix to a PDF file in the format dd-mm-yy, then attach it to an email with a subject matter containing the same dd-mm-yy?

All I seem to be able to add is [Switch.Date:TimeZone=UTC] which contains hours, mins, sec etc which I don't require.



Thanks for the help
User avatar
gabrielp
Advanced member
Posts: 645
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Date stamp

Post by gabrielp »

abonsey wrote: How do I add a suffix to a PDF file in the format dd-mm-yy, then attach it to an email with a subject matter containing the same dd-mm-yy?

All I seem to be able to add is [Switch.Date:TimeZone=UTC] which contains hours, mins, sec etc which I don't require.



Thanks for the help


Use the format attribute: [Switch.Date:Format="dd-mm-yy",TimeZone=UTC]



Use rename with suffix then a mail send with attachment and the subject containing the same string you included to rename as your suffix.
Free Switch scripts: open-automation @ GitHub
Free Switch apps: open-automation @ Enfocus appstore

Want to hire me? I'm looking for my next gig. Contact me on LinkedIn or via email.
abonsey
Member
Posts: 142
Joined: Fri May 24, 2013 5:10 pm

Date stamp

Post by abonsey »

Thanks for that. Works fine.
Post Reply