Date stamp

Post Reply
abonsey
Member
Posts: 98
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: 577
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.
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
abonsey
Member
Posts: 98
Joined: Fri May 24, 2013 5:10 pm

Date stamp

Post by abonsey »

Thanks for that. Works fine.
Post Reply