ulvis.paste.net

Paste Search Dynamic
Recent pastes
date js
  1. function returnDate(a,b,c){var d,e=new Date;void 0!=c&&""!=c&&"undefined"!=c&&(e=c);var f=e.getFullYear(),g=e.getMonth(),h=e.getDate(),i=e.getDay(),j=e.getHours(),k=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"),l=new Array("January","February","March","April","May","June","July","August","September","October","November","December");return d="timeofday"==a?j<12?"morning":j<17?"afternoon":"evening":"dayofweek"==a?k[i]:"day"==a?h:"month"==a?l[g]:"year"==a?f:l[g]+" "+h+", "+f,b?void document.write(d):d}
Parsed in 0.005 seconds