Saving
Code:
MyAddonDB.lastLogoffTime = date("%m/%d/%y %H:%M:%S")
just saves a string of "03/23/24 03:03:38"
No very useful in future if you just want the date part or just the time part (having to slice up a string).
Probably better saving as
Code:
MyAddonDB.lastLogoffTime = date()
And you can do the formatting when you display whatever part(s).