Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Date nowTime = new Date();
- DateTimeFormat fmt = DateTimeFormat.getFormat("yyyy/MM/d/h:mm");
- Window.alert(fmt.format(nowTime));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement