get time for chat input differently, so it reflects the local time