Generate timestamp on the client