var today = new Date();
var tDay = today.getDate();
var tMonth = today.getMonth()+1; //January is 0!
var tYear = today.getFullYear();
var twYear = tYear - 1911; // 換算為民國年
var tDay = today.getDate();
var tMonth = today.getMonth()+1; //January is 0!
var tYear = today.getFullYear();
var twYear = tYear - 1911; // 換算為民國年
沒有留言:
張貼留言