Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / test / test-79-npm / floordate / floordate.js
172 bytesRaw
1 | ; |
2 | |
3 | var floordate = require('floordate'); |
4 | var d = new Date(); |
5 | var v = floordate(d, 'year').getFullYear(); |
6 | if ((v > 2015) && (v < 2075)) { |
7 | console.log('ok'); |
8 | } |
9 |
Built with git-ssb-web