Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
http://www.datejs.com/を使用しています。私はそれを逃しているに違いありませんが、日/月/年を渡す方法はありますか?
あなたがしたい:
.toString("dddd");
例えば:
> Date.parse("1.16.2012").toString("dddd"); "Monday"
特定の曜日かどうかを知りたい場合は、次のようにします。
Date.parse("1.16.2012").is().monday()