Advertisement
Guest User

addTimeStamp

a guest
Feb 24th, 2015
309
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. msg.payload.d.timestamp = Math.floor(Date.now()/1000);
  2. return msg;
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement