Be alaways javaing...

          Loving Java
          posts - 43, comments - 5, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          Oracle日期函數

          Posted on 2008-07-04 10:32 追風舞者 閱讀(256) 評論(0)  編輯  收藏 所屬分類: Database
          Oracle的日期函數:

          Oracle從8i開始就提供了大量的日期函數,這些日期函數包括對日期進行加減、轉換、截取等功能。下面是Oracle提供的日期函數一覽表 

          Function

          Use

          ADD_MONTHS

          Adds months to a date

          LAST_DAY

          Computes the last day of the month

          MONTHS_BETWEEN

          Determines the number of months between two dates

          NEW_TIME

          Translates a time to a new time zone

          NEXT_DAY

          Returns the date of the next specified weekday

          ROUND

          Rounds a date/time value to a specified element

          SYSDATE

          Returns the current date and time

          TO_CHAR

          Converts dates to strings

          TO_DATE

          Converts strings and numbers to dates

          TRUNC

          Truncates a date/time value to a specific element


          更多詳細內容請參考:http://www.aygfsteel.com/pengpenglin/archive/2008/06/30/211589.html
          主站蜘蛛池模板: 灵山县| 泸定县| 潮州市| 麦盖提县| 塘沽区| 嘉义县| 松滋市| 大宁县| 遂宁市| 曲阳县| 乌兰察布市| 仙桃市| 咸丰县| 沙坪坝区| 瑞丽市| 剑阁县| 基隆市| 桐梓县| 海丰县| 长泰县| 宣城市| 洪泽县| 浑源县| 会泽县| 溆浦县| 永泰县| 霍城县| 郧西县| 乐亭县| 庆阳市| 张家港市| 苏州市| 固原市| 六安市| 永寿县| 铁力市| 磐安县| 博白县| 蓬溪县| 靖州| 彭水|