Forum Discussion
CarolineS
Boss
Thank you, DolanH!
Unfortunately, this isn't working for me, as the ?long only works on a number, and the date I'm working with appears to just be a string.
Here's the error, in case you're curious:
For "?long" left-hand operand: Expected a number, but this has evaluated to a string (wrapper: f.t.SimpleScalar): ==> user.registrationTime [in template "Hitbox" at line 6, column 53]
I'll keep working on this!
VikasB
7 years agoBoss
First, you need to convert it to date format then ?long will work. See here https://prnt.sc/j371fr
${datesupport.parseAsIso8601(user.registration_time)?long}
Related Content
- 4 years ago
- 13 years agoInactive User
- 6 years ago