Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function () {
- return ['Jan.', 'Feb.', 'Mar.',
- 'Apr.', 'May', 'Jun.',
- 'Jul.', 'Aug.', 'Sep.',
- 'Oct.', 'Nov.', 'Dec.'][this.getMonth()] + " " +
- (function (d) {
- var s = d.toString(), l = s[s.length-1];
- return s+(['st','nd','rd'][l-1] || 'th');
- })(this.getDate()) + ", " +
- this.getFullYear() + " " +
- this.getHours() + ":" + ("0" + this.getMinutes()).slice(-2);
- }).call(new Date())
Add Comment
Please, Sign In to add comment