<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                PG的時間函數使用整理如下? 1.獲取系統時間函數 ~~~ select now(); --2012-05-12 18:51:59.562+08 select current_timestamp; --2012-05-12 18:52:12.062+08 select current_date; --2012-05-12 select current_time; --18:53:23.234+08 ~~~ 2.時間的計算? --使用interval ~~~ select now()+interval '2 day'; --2012-05-14 20:05:32.796+08 2天后 select now()-interval '2 day'; --2012-05-10 20:07:23.265+08 2天前 select now()+interval '2 hour'; --2012-05-12 22:06:38.375+08 2小時后 .... interval可以不寫,其值可以是 Abbreviation Meaning Y Years M Months (in the date part) W Weeks D Days H Hours M Minutes (in the time part) ~~~ 3.時間的截取? --使用extract extract(interval,timestamp); ~~~ select extract(year from now()); --2012 select extract(mon from now()); --5 5月份 ... interval值參考上面 ~~~ 4.時間的轉換 ~~~ select timestamp '2012-05-12 18:54:54'; --2012-05-12 18:54:54 select date '2012-05-12 18:54:54'; --2012-05-12 select time '2012-05-12 18:54:54'; --18:54:54 select TIMESTAMP WITH TIME ZONE '2012-05-12 18:54:54' --2012-05-12 18:54:54+08 --與unix時間戳的轉換 SELECT TIMESTAMP 'epoch' + 1341174767 * INTERVAL '1 second'; --2012-07-01 20:32:47 ~~~ 以上是基本的PG函數使用,可滿足一般的開發運維應用
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看