Localize last active date field according to the user timezone

Hi, I want to Localize (last active date) field according to the user timezone, actually it works some times, but it is not other times, could anyone help me to understand how actually it works, and could I make localize for a custom datetime field?
thanks in advance.