Skip to content

Instantly share code, notes, and snippets.

@seungjin
Created November 19, 2010 22:34
Show Gist options
  • Save seungjin/707328 to your computer and use it in GitHub Desktop.
Save seungjin/707328 to your computer and use it in GitHub Desktop.
var d = new Date();
var curr_hour = d.getHours();
var curr_min = d.getMinutes();
var curr_sec = d.getSeconds();
now = curr_hour.toString() + ":" + curr_min.toString() + ":" + curr_sec.toString();
notice.msg("time",now);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment