Advertisement
Guest User

addTimeStamp

a guest
Feb 24th, 2015
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.07 KB | None | 0 0
  1. msg.payload.d.timestamp = Math.floor(Date.now()/1000);
  2. return msg;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement