Community
Discussions
Ideas
Community Blogs
Community Advisors Page
Marketo User Groups (MUGs)
Support
Marketo Support
Knowledgebase
Measure Support
Product Documentation
Developer Portal
Training
Deutsch
✔
English
✔
Español
✔
Français
✔
日本語
✔
Português
✔
Sign In
add to date value in velocity
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Printer Friendly Page
Anonymous
Not applicable
06-16-2014
06:01 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
06-16-2014
06:01 PM
Hello,
Can someone provide me an example on how to add day values to a date field in Velocity.
Tags
(1)
Tags:
advanced techniques
All forum topics
Previous Topic
Next Topic
3 REPLIES
3
Tim_Norton1
Level 1
09-07-2014
01:01 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
09-07-2014
01:01 AM
Keen to see an example too
Anonymous
Not applicable
06-17-2014
05:26 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
06-17-2014
05:26 PM
Thanks Breno
do you have an example of "resourcing to JavaScript"
The date tool has no methods on doing math on dates
Anonymous
Not applicable
06-17-2014
03:16 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
06-17-2014
03:16 AM
It is necessary to retrieve the date and then, resourcing to JavaScript, add/remove days to a date.
The official Velocity's documentation highlights all methods available for date manipulation
http://velocity.apache.org/tools/releases/1.3/javadoc/org/apache/velocity/tools/generic/DateTool.htm...
Post Reply