Get epoch for a specific date using Javascript Ask Question 2024-07-03 • javascript javascript-framework How do I convert 07/26/2010 to a UNIX timestamp using Javascript? ベストアンサー1 You can create a Date object, and call getTime on it: new Date(2010, 6, 26).getTime() / 1000 おすすめ記事 カーネルCPU周波数監視を無効にすると、パフォーマンスおよび/またはバッテリ寿命が向上しますか? 画面でコードを実行できません 千単位の区切り記号と一意の書式の並べ替え MacおよびVim用の自動コピーおよび貼り付けユーティリティ ターミナルレンダリングとアプリケーションパフォーマンス Linuxコマンドの目的の変更 すべての形式の認証が破損していますが、ローカルアカウントはまだボックスにあります。 破損したbashを修正する方法は? サブスクリプトから親スクリプト名を取得する 無制限のパラメータの整数を設定してください。