js-calc-date

npm date

Usage no npm install needed!

<script type="module">
  import jsCalcDate from 'https://cdn.skypack.dev/js-calc-date';
</script>

README

자동 적으로 시간 더해주는 함수

dateAddDel

const jsAdd = require('js-date-calc');

// first : 시간 데이터
// second : 시간
// third : y, m, d
jsAdd.dateAddDel('', '', '');

dateAddDelYmsHms


/**
 * interval is kind 
 * year, month, week, day, hour, minute, second
 * */
dateAddDelYmsHms('date Start', 'interval', 'number')

dataUtcChange


/**
 * gmt -> utc date change 
 * i think korea time is world time change
 */
dataUtcChange('date Start')