Using record.field?string("YYYYMMDD") in freemarke...
# suitescript
n
Using record.field?string("YYYYMMDD") in freemarker is returning 20240239 for 2/8/2024 (8th Feb 2024) Anyone else has experienced this?
n
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
So may be that is causing the issue... But the year and month part works fine.