Files: d456a6cc8589489e558e6164750474ed2cfc961e / 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