Hi Is it possible to add 2 months ( not add 60 day...
# advancedpdf
m
Hi Is it possible to add 2 months ( not add 60 days but 2 months ) to a date in NetSuite Advanced PDF? I did not see any function in freemarker for that
a
if you can construct the value you want as a string date then i think you could convert it with string?date as described here: https://freemarker.apache.org/docs/ref_builtins_string.html#ref_builtin_string_date
Another thought is I think you have an addMonths function in Netsuite, so you could construct the date using a custom field w/ formula and pull that into your PDF template that way
m
Hmm with freemarker it’s not working with month like February