<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          DatejsJavaScript日期庫

          聯(lián)合創(chuàng)作 · 2023-09-22 16:18

          Date.js 是一個開源的JavaScript庫,用來解析、格式化和處理日期數(shù)據(jù),支持多種語言的日期格式處理。

          示例代碼:

          Date.today()                    // Returns today's date, with time set to 00:00 (start of day).

          Date.today().next().friday()    // Returns the date of the next Friday.
          Date.today().last().monday()    // Returns the date of the previous Monday.

          new Date().next().march()       // Returns the date of the next March.
          new Date().last().week()        // Returns the date one week ago.

          Date.today().is().friday()      // Returns true|false if the day-of-week matches.
          Date.today().is().fri()         // Abbreviated day names.

          Date.today().is().november()    // Month names.
          Date.today().is().nov()         // Abbreviated month names.

          瀏覽 54
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點(diǎn)贊
          評論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  国产精品嫩草久久久久yw193 | 一道本无码在线播放 | 18禁成人h网站 | 色婷婷地址入口 | 综合激情网站 |