time formating and timezone offset in client