added time method compatible with gwt and serversize for RND