Join Slack
Powered by
Using record.field?string("YYYYMMDD") in freemarke...
# suitescript
n
NickSuite
02/08/2024, 7:07 PM
Using record.field?string("YYYYMMDD") in freemarker is returning 20240239 for 2/8/2024 (8th Feb 2024) Anyone else has experienced this?
n
NElliott
02/09/2024, 10:14 AM
Using it on a date field? I don't see the format you're using in the Freemarker docs?
https://freemarker.apache.org/docs/ref_builtins_date.html#ref_builtin_string_for_date
😲 1
n
NickSuite
02/09/2024, 1:11 PM
So may be that is causing the issue... But the year and month part works fine.
Open in Slack
Previous
Next