Converting Log In times to local time

I use it with an On Change trigger.
If you’ve not used Apps Script before, I did a recent tutorial with a section on triggers (Part 4)

Have a look through that, and give a yell if you need any help setting it up.