2017-12-16 javascriptで日時をunixtimeに変換 javascript date = new Date("Thu, 06 Sep 2012 00:00:00 +0900"); unixtime = parseInt( date.getTime() / 1000 ); ネタ元 https://qiita.com/labocho/items/5fbaa0491b67221419b4