Skip to content

Instantly share code, notes, and snippets.

@jaycody
Created March 12, 2014 00:07
Show Gist options
  • Save jaycody/9497818 to your computer and use it in GitHub Desktop.
Save jaycody/9497818 to your computer and use it in GitHub Desktop.
pro-timeStamp
String timestamp;
void setup() {
timestamp = year() + nf(month(),2) + nf(day(),2) + "-" + nf(hour(),2) + nf(minute(),2) + nf(second(),2);
println(timestamp);
exit();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment