daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var dateFormat = "DD-MM-YYYY";
  2. var date = moment('20.03.2014', dateFormat);
  3. var i = 0;
  4. var max = this.values.length;
  5. var labels = [];
  6. for(i=0; i<=max; i++){
  7.     date = date.clone().add(4,'d').format()
  8.     labels.push(date);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top