Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2015
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. Date nowTime = new Date();
  2. DateTimeFormat fmt = DateTimeFormat.getFormat("yyyy/MM/d/h:mm");
  3. Window.alert(fmt.format(nowTime));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement