Is there a built-in to convert a float to hours an...
# advancedpdf
e
Is there a built-in to convert a float to hours and minutes?
d
presuming the float is a ms-since-epoch
e
Thanks, I looked at that but I am looking for 1.5 being 1 hours 30 minutes. I ended up creating a function
👍 1
n
This is a good place to look for things like this: https://freemarker.apache.org/docs/ Just be advised, NS is not on the latest version of Freemarker so you may need to double check if certain functionality mentioned is valid for use in templates.
d
NetSuite is currently on the latest version of freemarker
2.3.32
(but that probably won't last). Remember I posted about it in May Neil?
e
Some days I can find what I'm looking for in the docs and others I feel like I'm reading a foreign language. I always head there first but this time I figured it was worth asking
Advanced PDFs could be a job title lol
d
it actually could 🫠
n
Do I recall you posting something in May? Apart from the many threads I read meaning "fat chance", I'm 51 and cannot recall my kids names or what I had for dinner each day last week, so no mate 😄 @David B (but thanks for reminding me... how bad my memory is 🤣)
d
😅 ha, that's fair I feel like NS upgrading freemarker versions is a core memory for me now, so I might be a bit biased 🫠
👍🏻 1