SOLVED!
ANSWER: strftime(“%c”) provided the desired formatting.
Is it possible to parse date() or time() in Expressions in such a way that a prettified Timestamp emerges? I’ve tried examples taken from the Lua docs (linked to from the LuaXP docs), with no success:
os.date() → function ‘os’ not recognized
date(“%c”) → gives ‘906000490’ instead of expected ‘09/16/98 23:48:10’
I’m hoping to be able to use the vast array of ‘percent’ signifiers to nancy up my expressions in the future, but feel like I’m coming at this from the wrong angle.
Use case: Sending out an email, using Notify, with message body "The living room lamp was turned on at " {triggerTime}
Thanks for any suggestions! - Libra